diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-09-10 15:08:55 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-09-10 15:08:55 -0400 |
commit | 23545aa6803e70895715fc752c3ccde4f8a63a0f (patch) | |
tree | 99cbe69d61accec11b4446aeef1af94f4bf2212e | |
parent | 7cce8742529ba2572ccdb361b99aea551687ad61 (diff) | |
download | rpmbuild-remote-23545aa6803e70895715fc752c3ccde4f8a63a0f.tar.gz rpmbuild-remote-23545aa6803e70895715fc752c3ccde4f8a63a0f.tar.xz rpmbuild-remote-23545aa6803e70895715fc752c3ccde4f8a63a0f.zip |
Parentheses orders
-rwxr-xr-x | rpmbuild-remote.py | 4 |
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) |