Ignore:
Timestamp:
04/21/09 16:59:35 (12 years ago)
Author:
sander
Message:

Merge separate major and minor version numbers (int) into one version field (strings). This touches the server, factory and documentation and constitutes an API change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/factory/src/backends/__init__.py

    r79 r128  
    5151 
    5252                self.application = config.get(section, 'application') 
    53                 self.major = config.get(section, 'major') 
    54                 self.minor = config.get(section, 'minor') 
     53                self.version = config.get(section, 'version') 
    5554                self.doctype = config.get(section, 'doctype') 
    5655                self.formats = [s.strip() for s in config.get(section, 'formats').split(',')] 
     
    6867                eligable = ( 
    6968                        job['application'] == self.application and 
    70                         job['major'] == self.major and 
    71                         job['minor'] == self.minor and 
     69                        job['version'] == self.version and 
    7270                        job['doctype'] == self.doctype and 
    7371                        (job['format'] == '' or job['format'] in self.formats) 
Note: See TracChangeset for help on using the changeset viewer.