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

Added rewrite comments to import redefinition

File:
1 edited

Legend:

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

    r3549 r3550  
    88getSite = None 
    99try: 
    10     # Plone 3.x, 4.0, 4.1, 4.2 
     10    # Plone < 4.3 
    1111    from zope.app.component import hooks 
    1212    getSite = hooks.getSite 
    1313except ImportError: 
    14     # Plone 4.3 
     14    # Plone >= 4.3 
    1515    from zope.component.hooks import getSite 
    1616from zope.app.form.browser import TextAreaWidget 
Note: See TracChangeset for help on using the changeset viewer.