comparison roundup/configuration.py @ 3777:74aebbbea305

Sorry for the mega-patch - was all done on the train: - handling of required for booelan False and numeric 0 [SF#1608200] - removed bogus args attr of ConfigurationError [SF#1608056] - implemented start_response in roundup.cgi [SF#1604304]
author Richard Jones <richard@users.sourceforge.net>
date Mon, 11 Dec 2006 23:36:15 +0000
parents 65badf6ab7ad
children 93dfda74a763
comparison
equal deleted inserted replaced
3776:1ac3c7ed91e8 3777:74aebbbea305
1 # Roundup Issue Tracker configuration support 1 # Roundup Issue Tracker configuration support
2 # 2 #
3 # $Id: configuration.py,v 1.36 2006-10-05 23:14:52 richard Exp $ 3 # $Id: configuration.py,v 1.37 2006-12-11 23:36:15 richard Exp $
4 # 4 #
5 __docformat__ = "restructuredtext" 5 __docformat__ = "restructuredtext"
6 6
7 import getopt 7 import getopt
8 import imp 8 import imp
17 # XXX i don't think this module needs string translation, does it? 17 # XXX i don't think this module needs string translation, does it?
18 18
19 ### Exceptions 19 ### Exceptions
20 20
21 class ConfigurationError(Exception): 21 class ConfigurationError(Exception):
22 22 pass
23 # without this, pychecker complains about missing class attribute...
24 args = ()
25 23
26 class NoConfigError(ConfigurationError): 24 class NoConfigError(ConfigurationError):
27 25
28 """Raised when configuration loading fails 26 """Raised when configuration loading fails
29 27

Roundup Issue Tracker: http://roundup-tracker.org/