summaryrefslogtreecommitdiffstats
path: root/src/py-libs/backend.py
diff options
context:
space:
mode:
authorMichael E Brown <mebrown@michaels-house.net>2007-11-17 11:44:00 -0600
committerMichael E Brown <mebrown@michaels-house.net>2007-11-17 11:44:00 -0600
commite7f70fcedafe41160d6bef9481d05f88a365d4cd (patch)
tree5970df575cf99069e2044a4e3e3225846c022468 /src/py-libs/backend.py
parent460087986a21d4b4cd0ac1bd3c0a4a74b7502c68 (diff)
downloadmock-e7f70fcedafe41160d6bef9481d05f88a365d4cd.tar.gz
mock-e7f70fcedafe41160d6bef9481d05f88a365d4cd.tar.xz
mock-e7f70fcedafe41160d6bef9481d05f88a365d4cd.zip
allow resultdir to be variable-substituted on cmdline.
Diffstat (limited to 'src/py-libs/backend.py')
-rw-r--r--src/py-libs/backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py-libs/backend.py b/src/py-libs/backend.py
index ff00160..bf7df5d 100644
--- a/src/py-libs/backend.py
+++ b/src/py-libs/backend.py
@@ -49,7 +49,7 @@ class Root(object):
if not config.has_key('resultdir'):
self.resultdir = os.path.join(self.basedir, 'result')
else:
- self.resultdir = config['resultdir']
+ self.resultdir = config['resultdir'] % config
self.root_log = logging.getLogger("mock")
self.build_log = logging.getLogger("mock.Root.build")