Changeset 3602 in products for quintagroup.catalogupdater/trunk/quintagroup/catalogupdater/utility.py
- Timestamp:
- Oct 24, 2012 3:13:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.catalogupdater/trunk/quintagroup/catalogupdater/utility.py
r3142 r3602 41 41 42 42 if not type(cols) in AVAIL_COLTYPES: 43 raise TypeError("'columns' parameter must be one of the " \44 "following types: %s" % AVAIL_COLTYPES)43 raise TypeError("'columns' parameter must be one of the " 44 "following types: %s" % AVAIL_COLTYPES) 45 45 # Normalize columns 46 46 if type(cols) in types.StringTypes: … … 49 49 for col in cols: 50 50 if not col in _cat.schema: 51 raise AttributeError("'%s' - not presented column in " \51 raise AttributeError("'%s' - not presented column in " 52 52 "%s catalog " % (col, cat)) 53 53 … … 93 93 paths = _catalog.paths 94 94 getWrappedObject = (IS_NEW and self.getWrappedObjectNew 95 95 or self.getWrappedObjectOld) 96 96 # For subtransaction support 97 97 threshold = getattr(catalog, 'threshold', 10000)
Note: See TracChangeset
for help on using the changeset viewer.