Changeset 3408 in products


Ignore:
Timestamp:
Apr 5, 2012 12:07:43 PM (12 years ago)
Author:
enkidu
Message:

pep8

Location:
quintagroup.analytics/trunk/quintagroup/analytics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.analytics/trunk/quintagroup/analytics/__init__.py

    r3407 r3408  
    11from zope.i18nmessageid import MessageFactory 
    22QuintagroupAnalyticsMessageFactory = MessageFactory('quintagroup.analytics') 
    3  
  • quintagroup.analytics/trunk/quintagroup/analytics/browser/views.py

    r3407 r3408  
    2121from quintagroup.analytics import QuintagroupAnalyticsMessageFactory as _ 
    2222 
    23 MENUEITEMS = [{'href':'qa_overview',         'content':_('Overview')}, 
    24               {'href':'ownership_by_type',   'content':_('Ownership by type')}, 
    25               {'href':'ownership_by_state',  'content':_('Ownership by state')}, 
    26               {'href':'type_by_state',       'content':_('Types by state')}, 
    27               {'href':'portlets_stats',      'content':_('Portlets stats')}, 
    28               {'href':'legacy_portlets',     'content':_('Legacy portlets')}, 
    29               {'href':'properties_stats',    'content':_('Properties stats')},] 
     23MENUEITEMS = [{'href':'qa_overview', 'content':_('Overview')}, 
     24              {'href':'ownership_by_type', 'content':_('Ownership by type')}, 
     25              {'href':'ownership_by_state', 'content':_('Ownership by state')}, 
     26              {'href':'type_by_state', 'content':_('Types by state')}, 
     27              {'href':'portlets_stats', 'content':_('Portlets stats')}, 
     28              {'href':'legacy_portlets', 'content':_('Legacy portlets')}, 
     29              {'href':'properties_stats', 'content':_('Properties stats')}] 
     30 
    3031 
    3132class AnalyticsBaseView(BrowserView): 
     
    3637class OwnershipByType(AnalyticsBaseView): 
    3738    MAX = 10 
     39 
    3840    def __init__(self, context, request): 
    3941        self.context = context 
Note: See TracChangeset for help on using the changeset viewer.