Changeset 3549 in products


Ignore:
Timestamp:
Sep 11, 2012 9:15:41 AM (12 years ago)
Author:
ktarasz
Message:

Added comments to import redefinition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/seo_configlet.py

    r3547 r3549  
    55from zope.schema import Bool, Choice, Tuple, List 
    66from zope.schema import SourceText 
     7# BBB Support different versions of Plone 
    78getSite = None 
    89try: 
     10    # Plone 3.x, 4.0, 4.1, 4.2 
    911    from zope.app.component import hooks 
    1012    getSite = hooks.getSite 
    1113except ImportError: 
     14    # Plone 4.3 
    1215    from zope.component.hooks import getSite 
    1316from zope.app.form.browser import TextAreaWidget 
Note: See TracChangeset for help on using the changeset viewer.