Changeset 2569
- Timestamp:
- Nov 26, 2009, 10:15:42 AM (15 years ago)
- Location:
- trunk/packages/invirt-dev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/invirt-build-conf
r2568 r2569 31 31 # .close(). Oh well. 32 32 conf_fd, conf_name = tempfile.mkstemp() 33 conf = os.fdopen(conf_fd )33 conf = os.fdopen(conf_fd, 'r+') 34 34 build_handler = '/usr/sbin/invirt-submit-build' 35 35 … … 38 38 39 39 acl_fd, acl_name = tempfile.mkstemp() 40 acl_fd = os.fdopen(acl_fd )40 acl_fd = os.fdopen(acl_fd, 'r+') 41 41 print >>acl_fd, '\n'.join(userToPrinc(a) for a in acl) 42 42 -
trunk/packages/invirt-dev/invirt-submit-build
r2567 r2569 45 45 # file, and then move it into the queue directory. 46 46 q_fd, q_name = tempfile.mkstemp() 47 q = os.fdopen(q_fd )47 q = os.fdopen(q_fd, 'r+') 48 48 print >>q, "%s %s %s %s" % (pocket, package, commit, principal) 49 49 os.rename(q_name, q_path)
Note: See TracChangeset
for help on using the changeset viewer.