summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-10 15:08:55 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-10 15:08:55 -0400
commit23545aa6803e70895715fc752c3ccde4f8a63a0f (patch)
tree99cbe69d61accec11b4446aeef1af94f4bf2212e /rpmbuild-remote.py
parent7cce8742529ba2572ccdb361b99aea551687ad61 (diff)
downloadrpmbuild-remote-23545aa6803e70895715fc752c3ccde4f8a63a0f.zip
rpmbuild-remote-23545aa6803e70895715fc752c3ccde4f8a63a0f.tar.gz
rpmbuild-remote-23545aa6803e70895715fc752c3ccde4f8a63a0f.tar.xz
Parentheses orders
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)