Changeset 2140 in products for quintagroup.plonecomments/trunk


Ignore:
Timestamp:
Apr 16, 2010 1:10:36 PM (14 years ago)
Author:
kroman0
Message:

Added plone.browserlayer to requires

Location:
quintagroup.plonecomments/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/prefs_comments_setup.cpy

    r822 r2140  
    1616pp = getToolByName(context, 'portal_properties') 
    1717props_sheet = getattr(pp, 'qPloneComments') 
    18 property_maps=[(m['id'], m['type']) for m in props_sheet.propertyMap() if not m['id']=='title'] 
     18property_maps = [(m['id'], m['type']) 
     19                 for m in props_sheet.propertyMap() 
     20                 if not m['id']=='title'] 
    1921request_ids = form.keys() 
    2022 
    2123kw={} 
    22 for id,type in property_maps: 
     24for id, type in property_maps: 
    2325    if type == 'boolean': 
    2426        if id in request_ids: 
  • quintagroup.plonecomments/trunk/setup.py

    r1594 r2140  
    2727      install_requires=[ 
    2828          'setuptools', 
     29          'plone.browserlayer', 
    2930          # -*- Extra requirements: -*- 
    3031      ], 
Note: See TracChangeset for help on using the changeset viewer.