Ignore:
Timestamp:
Oct 24, 2012 1:59:38 PM (11 years ago)
Author:
vmaksymiv
Message:

PPP fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonetabs/trunk/quintagroup/plonetabs/utils.py

    r3563 r3598  
    88 
    99 
    10 # TODO: Methods 'getViewletByName' and 'setupViewletByName' were copied  
     10# TODO: Methods 'getViewletByName' and 'setupViewletByName' were copied 
    1111# from https://github.com/collective/collective.developermanual/blob/master/source/views/viewlets.rst#what-viewlets-do 
    12 # Better solution would be to use collective.fastview  
    13 # (http://svn.plone.org/svn/collective/collective.fastview/trunk/)  
     12# Better solution would be to use collective.fastview 
     13# (http://svn.plone.org/svn/collective/collective.fastview/trunk/) 
    1414# which has not yet included in plone. 
    1515 
     
    4747    # from adapters registry 
    4848    reg = getViewletByName(name) 
    49     if reg == None: 
     49    if reg is None: 
    5050        return None 
    5151 
Note: See TracChangeset for help on using the changeset viewer.