Changeset 682 in tailor for vcpx/repository.py


Ignore:
Timestamp:
08/24/05 00:57:49 (8 years ago)
Author:
lele@…
Hash name:
20050823225749-97f81-56130dfd041a7f6c7a5f611514a26ed1505c2e24
Message:

Use a string as default value, not a bool
The Python ConfigParser? is very silly and string-centric, I'll look
at ConfigObj? 4...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/repository.py

    r680 r682  
    149149        Repository._load(self, config, which) 
    150150        self.CVS_CMD = config.get(self.name, 'cvs-command', self.CVS_CMD) 
    151         self.tag_entries = config.get(self.name, 'tag-entries', True) 
     151        self.tag_entries = config.get(self.name, 'tag-entries', 'True') 
    152152 
    153153    def _validateConfiguration(self): 
     
    167167        CvsRepository._load(self, config, which) 
    168168        self.CVSPS_CMD = config.get(self.name, 'cvsps-command', self.CVSPS_CMD) 
    169         self.tag_entries = config.get(self.name, 'tag-entries', True) 
     169        self.tag_entries = config.get(self.name, 'tag-entries', 'True') 
    170170 
    171171 
Note: See TracChangeset for help on using the changeset viewer.