summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)