Actually install the invirt-build-conf script.
[invirt/packages/invirt-dev.git] / invirt-submit-build
index 713f3da..7115bf6 100755 (executable)
@@ -44,7 +44,7 @@ def main():
     # written the file out, first write the queue entry to a temporary
     # file, and then move it into the queue directory.
     q_fd, q_name = tempfile.mkstemp()
-    q = os.fdopen(q_fd)
+    q = os.fdopen(q_fd, 'r+')
     print >>q, "%s %s %s %s" % (pocket, package, commit, principal)
     os.rename(q_name, q_path)