diff options
| author | Michael E Brown <mebrown@michaels-house.net> | 2007-10-18 00:42:16 -0500 |
|---|---|---|
| committer | Michael E Brown <mebrown@michaels-house.net> | 2007-10-18 00:42:16 -0500 |
| commit | c085cdb197bde90ea724e7f8fc1ccc7323fa97b2 (patch) | |
| tree | d4d09bc5debead1e67f345b388e68396d50c4aed /src | |
| parent | 49ac487cf6df37c482446be61764dee99ed92282 (diff) | |
| download | mock-c085cdb197bde90ea724e7f8fc1ccc7323fa97b2.tar.gz mock-c085cdb197bde90ea724e7f8fc1ccc7323fa97b2.tar.xz mock-c085cdb197bde90ea724e7f8fc1ccc7323fa97b2.zip | |
fix chroot->root typo. change function call to yieldSrpmHeaders().
Diffstat (limited to 'src')
| -rwxr-xr-x | src/mock.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mock.py b/src/mock.py index 8bd16e3..45a276a 100755 --- a/src/mock.py +++ b/src/mock.py @@ -247,7 +247,7 @@ def main(): log.critical("No package specified to rebuild command.") sys.exit(50) - for hdr in mock.util.getSrpmHeader(srpms): pass + for hdr in mock.util.yieldSrpmHeaders(srpms): pass chroot.init() # TODO: test this (oh, implement it first, actually) chroot.installSrpmDeps(srpms) @@ -263,15 +263,15 @@ def main(): srpms = args[0:] # check that everything is kosher. Raises exception on error - for hdr in mock.util.getSrpmHeader(srpms): pass + for hdr in mock.util.yieldSrpmHeaders(srpms): pass for srpm in srpms: if config_opts['clean']: chroot.clean() chroot.init() - chroot.build(srpm) + chroot.build(srpm, timeout=config_opts['rpmbuild_timeout']) - log.critical("Results and/or logs in: %s" % root.resultdir) + log.critical("Results and/or logs in: %s" % chroot.resultdir) except (Exception,), e: logging.exception(e) |
