Changes in trunk/amazonbot/config.py [28:8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/amazonbot/config.py
r28 r8 2 2 3 3 __version__ = '$Revision$' 4 __author__ = 'Atzm WATANABE < atzm@atzm.org>'4 __author__ = 'Atzm WATANABE <sitosito@p.chan.ne.jp>' 5 5 6 6 import os, ConfigParser 7 7 8 8 _userconfig = 'amazonbot.ini' 9 _parser = ConfigParser. RawConfigParser()9 _parser = ConfigParser.SafeConfigParser() 10 10 11 11 def set(sect, key, val): … … 30 30 return '' 31 31 32 def has_section(sect):33 return _parser.has_section(sect)34 35 32 def write(filename=''): 36 33 if not filename:
Note: See TracChangeset
for help on using the changeset viewer.