diff options
author | Michael E Brown <mebrown@michaels-house.net> | 2007-11-17 11:44:00 -0600 |
---|---|---|
committer | Michael E Brown <mebrown@michaels-house.net> | 2007-11-17 11:44:00 -0600 |
commit | e7f70fcedafe41160d6bef9481d05f88a365d4cd (patch) | |
tree | 5970df575cf99069e2044a4e3e3225846c022468 /src/py-libs/backend.py | |
parent | 460087986a21d4b4cd0ac1bd3c0a4a74b7502c68 (diff) | |
download | mock-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.py | 2 |
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") |