Changeset 171 for trunk/factory/src/backends/__init__.py
- Timestamp:
- 05/25/09 14:19:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/factory/src/backends/__init__.py
r161 r171 50 50 self.section = section 51 51 52 self.application = config.get(section, 'application') 53 self.version = config.get(section, 'version') 52 self.application = config.get(section, 'application').lower() 53 self.version = config.get(section, 'version').lower() 54 54 self.doctype = config.get(section, 'doctype') 55 55 self.formats = [s.strip() for s in config.get(section, 'formats').split(',')] … … 66 66 """ 67 67 eligable = ( 68 job['application'] == self.application and69 job['version'] == self.version and68 job['application'].lower() == self.application and 69 job['version'].lower() == self.version and 70 70 job['doctype'] == self.doctype and 71 71 (job['format'] == '' or job['format'] in self.formats)
Note: See TracChangeset
for help on using the changeset viewer.