diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-09-09 12:12:38 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-09-09 12:12:38 -0400 |
commit | a73fa698be08dc0e591c2a9d2c8ddbbe0b08d105 (patch) | |
tree | de8436b24a730c41e46a88f9dab8793f152efa83 | |
parent | 9b13010c8f510a763133045939d9ff8b149d1906 (diff) | |
download | rpmbuild-remote-a73fa698be08dc0e591c2a9d2c8ddbbe0b08d105.tar.gz rpmbuild-remote-a73fa698be08dc0e591c2a9d2c8ddbbe0b08d105.tar.xz rpmbuild-remote-a73fa698be08dc0e591c2a9d2c8ddbbe0b08d105.zip |
Fix syntax errors
-rwxr-xr-x | rpmbuild-remote.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py index 9df2d32..82c0839 100755 --- a/rpmbuild-remote.py +++ b/rpmbuild-remote.py @@ -162,8 +162,7 @@ def execute_jobs(opts, system, jobs): fetch = get_mock_results else: LOG.info("Building %s with mock config %s" % (file, opts.mock)) - cmd = "mock -r %s rpmbuild/SRPMS/%s" - % (opts.mock, file) + cmd = "mock -r %s rpmbuild/SRPMS/%s" % (opts.mock, file) fetch = get_rpmbuild_results else: dest = "rpmbuild/SPECS/" @@ -172,7 +171,7 @@ def execute_jobs(opts, system, jobs): send_files(session, job[1:], dest) file = os.path.basename(job[0]) LOG.info("Building %s from %d souces" % (file, len(job) - 1)) - cmd = "rpmbuild -ba rpmbuild/SPECS/%s" % file) + cmd = "rpmbuild -ba rpmbuild/SPECS/%s" % file fetch = get_rpmbuild_results start = time.clock() files = session.exec_command(cmd) |