Changeset a55f2f9
- Timestamp:
- Sep 19, 2011 2:30:34 PM (13 years ago)
- Branches:
- compt_changes, info-ops, master
- Children:
- 4157521
- Parents:
- 5f51dc1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/authorizer.py
r5f51dc1 ra55f2f9 461 461 Copy src to dest with file mode mode. May raise exceptions on file ops 462 462 ''' 463 d = open(dest, 'w') 464 s = open(src, 'r') 465 d.write(s.read()) 466 s.close() 467 d.close() 463 464 if dest != src: 465 d = open(dest, 'w') 466 s = open(src, 'r') 467 d.write(s.read()) 468 s.close() 469 d.close() 468 470 os.chmod(dest, mode) 469 471
Note: See TracChangeset
for help on using the changeset viewer.