summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-09 12:12:38 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-09 12:12:38 -0400
commita73fa698be08dc0e591c2a9d2c8ddbbe0b08d105 (patch)
treede8436b24a730c41e46a88f9dab8793f152efa83 /rpmbuild-remote.py
parent9b13010c8f510a763133045939d9ff8b149d1906 (diff)
downloadrpmbuild-remote-a73fa698be08dc0e591c2a9d2c8ddbbe0b08d105.zip
rpmbuild-remote-a73fa698be08dc0e591c2a9d2c8ddbbe0b08d105.tar.gz
rpmbuild-remote-a73fa698be08dc0e591c2a9d2c8ddbbe0b08d105.tar.xz
Fix syntax errors
Diffstat (limited to 'rpmbuild-remote.py')
-rwxr-xr-xrpmbuild-remote.py5
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)