Changeset 3288 for pykota/trunk/pykota/config.py
- Timestamp:
- 01/11/08 19:08:24 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/config.py
r3284 r3288 27 27 import ConfigParser 28 28 29 class PyKotaConfigError(Exception): 30 """An exception for PyKota config related stuff.""" 31 def __init__(self, message = ""): 32 self.message = message 33 Exception.__init__(self, message) 34 def __repr__(self): 35 return self.message 36 __str__ = __repr__ 37 29 from pykota.errors import PyKotaConfigError 30 38 31 class PyKotaConfig : 39 32 """A class to deal with PyKota's configuration."""