Changeset 3495 in products


Ignore:
Timestamp:
Aug 10, 2012 12:56:05 PM (9 years ago)
Author:
potar
Message:

fixed compability with python2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/branches/sitemap_date/quintagroup/plonegooglesitemaps/indexers.py

    r3486 r3495  
    1818        # get modification date 
    1919        child_mdate = dateTime(default_page) 
    20         last_date = folderish_date if folderish_date > child_mdate \ 
    21                                 else child_mdate 
     20 
     21        if folderish_date > child_mdate: 
     22            last_date = folderish_date  
     23        else: 
     24            last_date = child_mdate 
    2225 
    2326        child = getDefaultPage(default_page) 
Note: See TracChangeset for help on using the changeset viewer.