Changeset 2567 for trunk/packages/invirt-dev/invirt-submit-build
- Timestamp:
- Nov 26, 2009, 9:45:03 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/invirt-submit-build
r2563 r2567 44 44 # written the file out, first write the queue entry to a temporary 45 45 # file, and then move it into the queue directory. 46 q = tempfile.NamedTemporaryFile(delete=False) 46 q_fd, q_name = tempfile.mkstemp() 47 q = os.fdopen(q_fd) 47 48 print >>q, "%s %s %s %s" % (pocket, package, commit, principal) 48 os.rename(q .name, q_path)49 os.rename(q_name, q_path) 49 50 50 51
Note: See TracChangeset
for help on using the changeset viewer.