products/CPSUid

changeset 13:2e7e6da9eae9 0.0.3-0.0.2

typo, replace : by _ in keyword name
author atchertchian
date Thu, 13 Jul 2006 17:54:30 +0000
parents bb55524f228a
children 3cf9561e1206
files uidgenerator.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/uidgenerator.py
     1.2 +++ b/uidgenerator.py
     1.3 @@ -121,7 +121,7 @@
     1.4          for keyword in self.generation_criteria:
     1.5              # XXX AT: capsule related fix: get rid of colons in keyword name
     1.6              # hoping no conflict will occur
     1.7 -            criteria[keyword.replace(':', '')] = kw.get(keyword)
     1.8 +            criteria[keyword.replace(':', '_')] = kw.get(keyword)
     1.9          counter = self._getCounter(**criteria)
    1.10          mapping.update(criteria)
    1.11          mapping['number'] = counter.hit()