Changeset 2041 for WAeUP_SRP/trunk/PatchZCatalogCatalogUpdateMetadata.py
- Timestamp:
- 20 Jul 2007, 13:58:29 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/PatchZCatalogCatalogUpdateMetadata.py
r2039 r2041 13 13 14 14 index=getattr(self, '_v_nextid', 0) 15 if index % 4000 == 0: 15 if index % 4000 == 0: 16 16 index = randint(-2000000000, 2000000000) 17 17 while not data.insert(index, newDataRecord): … … 40 40 return index 41 41 from Products.ZCatalog.Catalog import Catalog 42 Catalog.u dateMetadata = updateMetadata42 Catalog.updateMetadata = updateMetadata
Note: See TracChangeset for help on using the changeset viewer.