[Piuparts-commits] rev 233 - trunk
Holger Levsen
holger at alioth.debian.org
Sat Mar 14 20:26:14 UTC 2009
Author: holger
Date: 2009-03-14 20:26:14 +0000 (Sat, 14 Mar 2009)
New Revision: 233
Modified:
trunk/piuparts-report.py
Log:
support sections in configuration file.
Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py 2009-03-14 20:21:42 UTC (rev 232)
+++ trunk/piuparts-report.py 2009-03-14 20:26:14 UTC (rev 233)
@@ -133,8 +133,8 @@
class Config(piupartslib.conf.Config):
- def __init__(self):
- piupartslib.conf.Config.__init__(self, "report",
+ def __init__(self, section="report"):
+ piupartslib.conf.Config.__init__(self, section,
{
"output-dir": "html",
"index-page": "index.html",
More information about the Piuparts-commits
mailing list