Changeset 2202 in products


Ignore:
Timestamp:
Apr 26, 2010 2:23:35 PM (10 years ago)
Author:
mylan
Message:

#199: Fix bug, tested with plone-3.x

Location:
quintagroup.plonegooglesitemaps/branches/1.1.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/branches/1.1.2/quintagroup/plonegooglesitemaps/browser/utils.py

    r1726 r2202  
    2929            url = ob.canonical_path 
    3030        if url in [Missing_Value, _marker]: 
    31             cpath = queryAdapter(ob.getObject(), ICanonicalPath) 
    32             url = cpath.canonical_path() 
     31            url = ICanonicalPath(ob.getObject()).canonical_path 
    3332        for operator, what, with in operations: 
    3433            url = OPERATORS[operator](url, what, with.replace("\\", "")) 
  • quintagroup.plonegooglesitemaps/branches/1.1.2/setup.py

    r2199 r2202  
    2626      install_requires=[ 
    2727          'setuptools', 
    28           'quintagroup.canonicalpath==0.4', 
     28          'quintagroup.canonicalpath==0.6', 
    2929          # -*- Extra requirements: -*- 
    3030      ], 
Note: See TracChangeset for help on using the changeset viewer.