Ignore:
Timestamp:
Aug 22, 2012 10:22:22 AM (8 years ago)
Author:
potar
Message:

Merged sitemap_date branch into trunk

Location:
quintagroup.plonegooglesitemaps/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/trunk

    • Property svn:mergeinfo
      •  

        old new  
        33/quintagroup.plonegooglesitemaps/branches/migratioin_product:2826-2839 
        44/quintagroup.plonegooglesitemaps/branches/plone4:2549-2553 
         5/quintagroup.plonegooglesitemaps/branches/sitemap_date:3481-3509 
        56/quintagroup.plonegooglesitemaps/branches/test_refactoring:2527-2536 
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/upgrades.py

    r3152 r3510  
    1818    portal = purl.getPortalObject() 
    1919    allCTTypes = types.listContentTypes() 
    20     obj_metatypes = [m.content_meta_type for m in types.objectValues() \ 
     20    obj_metatypes = [m.content_meta_type for m in types.objectValues() 
    2121                     if m.getId() in allCTTypes] 
    2222    convertor = CanonicalConvertor(portal_url=purl()) 
    23     portal.ZopeFindAndApply( 
    24                             portal, 
     23    portal.ZopeFindAndApply(portal, 
    2524                            obj_metatypes=','.join(obj_metatypes), 
    2625                            apply_func=renameProperty, 
    27                             search_sub=1, 
    28                             ) 
     26                            search_sub=1,) 
    2927    print convertor.getLogs() 
    3028 
Note: See TracChangeset for help on using the changeset viewer.