summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpmbuild-remote.py')
-rwxr-xr-xrpmbuild-remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index 391feb0..e40a5dd 100755
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -157,10 +157,10 @@ def get_mock_results(session, dest, sout, serr):
def get_rpmbuild_results(session, dest, sout, serr):
if not dest:
os.makedirs(dest)
- out = open(os.path.join(dest, 'rpmbuild.stdout', 'w+'))
+ out = open(os.path.join(dest, 'rpmbuild.stdout'), 'w+')
out.write(sout.read())
out.close()
- err = open(os.path.join(dest, 'rpmbuild.stderr', 'w+'))
+ err = open(os.path.join(dest, 'rpmbuild.stderr'), 'w+')
err.write(serr.read())
err.close()
get_files(os.path.join(dest, 'rpmbuild.stdout'), dest)