Changeset 495 in tailor


Ignore:
Timestamp:
08/05/05 03:01:35 (8 years ago)
Author:
lele@…
Hash name:
20050805010135-97f81-c19d935afa46ab732a12f8cbfa01b8e3cb7ae961
Message:

ConfigParser? option values must be strings

Location:
vcpx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tailor.py

    r494 r495  
    277277        for k,v in options.__dict__.items(): 
    278278            if k not in ['interactive', 'bootstrap', 'configfile']: 
    279                 defaults[k.replace('_', '-')] = v 
     279                defaults[k.replace('_', '-')] = str(v) 
    280280 
    281281        if options.configfile: 
  • vcpx/config.py

    r491 r495  
    6565            if value == 'None': 
    6666                return default 
     67            elif value == 'True': 
     68                return True 
     69            elif value == 'False': 
     70                return False 
    6771            else: 
    6872                return value 
Note: See TracChangeset for help on using the changeset viewer.