Changeset 1360 for branch/ggpolo/umitInventory/TLBase.py
- Timestamp:
- 08/14/07 21:15:58 (6 years ago)
- Files:
-
- 1 modified
-
branch/ggpolo/umitInventory/TLBase.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branch/ggpolo/umitInventory/TLBase.py
r1258 r1360 100 100 101 101 return startup 102 103 104 def write_startup_setting(setting, value): 105 """ 106 Set a new value for a startup setting. 107 """ 108 section = "Startup" 109 110 if not configparser.has_section(section): 111 return # would be better to raise some Exception 112 113 configparser.set(section, setting, value) 114 configparser.write(open(settings_file, 'w')) 102 115 103 116
