Ignore:
Timestamp:
Oct 24, 2012 3:13:15 PM (7 years ago)
Author:
vmaksymiv
Message:

PPP fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.catalogupdater/trunk/quintagroup/catalogupdater/utility.py

    r3142 r3602  
    4141 
    4242        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) 
    4545        # Normalize columns 
    4646        if type(cols) in types.StringTypes: 
     
    4949        for col in cols: 
    5050            if not col in _cat.schema: 
    51                 raise AttributeError("'%s' - not presented column in " \ 
     51                raise AttributeError("'%s' - not presented column in " 
    5252                                     "%s catalog " % (col, cat)) 
    5353 
     
    9393        paths = _catalog.paths 
    9494        getWrappedObject = (IS_NEW and self.getWrappedObjectNew 
    95                                     or self.getWrappedObjectOld) 
     95                            or self.getWrappedObjectOld) 
    9696        # For subtransaction support 
    9797        threshold = getattr(catalog, 'threshold', 10000) 
Note: See TracChangeset for help on using the changeset viewer.