Message105333
Patch to update ConfigParser.py so that the .get* methods can take an optional parameter rather than raising exceptions. Usage:
cp = ConfigParser(...)
# ...
value = cp.get('MySection', 'MyOption', default='some default')
i = cp.getint('MySecton', 'MyInt', default=42)
f = cp.getfloat('MySection', 'MyF', default=3.14) |
|
Date |
User |
Action |
Args |
2010-05-08 19:56:35 | Gumnos | set | recipients:
+ Gumnos |
2010-05-08 19:56:34 | Gumnos | set | messageid: <1273348594.74.0.554904911988.issue8666@psf.upfronthosting.co.za> |
2010-05-08 19:56:33 | Gumnos | link | issue8666 messages |
2010-05-08 19:56:33 | Gumnos | create | |
|