Changeset 3598 in products for quintagroup.plonetabs/trunk/quintagroup/plonetabs/utils.py
- Timestamp:
- Oct 24, 2012 1:59:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonetabs/trunk/quintagroup/plonetabs/utils.py
r3563 r3598 8 8 9 9 10 # TODO: Methods 'getViewletByName' and 'setupViewletByName' were copied 10 # TODO: Methods 'getViewletByName' and 'setupViewletByName' were copied 11 11 # 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/) 14 14 # which has not yet included in plone. 15 15 … … 47 47 # from adapters registry 48 48 reg = getViewletByName(name) 49 if reg ==None:49 if reg is None: 50 50 return None 51 51
Note: See TracChangeset
for help on using the changeset viewer.