Ignore:
Timestamp:
Sep 29, 2010 4:20:26 PM (9 years ago)
Author:
mylan
Message:

Fixed NotImplementedError? for namespace_package2 var

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qtheme.template/trunk/qthemetemplate/qplone3_theme.py

    r156 r2864  
    55from zopeskel.plone3_theme import Plone3Theme 
    66from zopeskel.base import get_var 
    7 from zopeskel.base import var 
     7 
     8try: 
     9    from zopeskel.vars import StringVar as str_var 
     10except ImportError: 
     11    from zopeskel.vars import var as str_var 
    812 
    913class qPlone3Theme(Plone3Theme): 
     
    2428    get_var(vars, 'description').default = 'An installable Quintagroup theme for Plone 3' 
    2529    get_var(vars, 'version').default = '0.1' 
    26     vars.insert(1, var('namespace_package2', 
     30    vars.insert(1, str_var('namespace_package2', 
    2731                        'Nested namespace package (like theme)', 
    2832                        default='theme')) 
Note: See TracChangeset for help on using the changeset viewer.