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