Changeset d3c8759 for fedd/federation/util.py
- Timestamp:
- May 25, 2010 11:15:55 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- f038da1
- Parents:
- da2208a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/util.py
rda2208a rd3c8759 165 165 def copy_file(src, dest, size=1024): 166 166 """ 167 Exceedingly simple file copy. Throws an IOError if there's a problem.167 Exceedingly simple file copy. Throws an EnvironmentError if there's a problem. 168 168 """ 169 169 s = open(src,'r') … … 203 203 lf.close() 204 204 ok = True 205 except IOError, e:205 except EnvironmentError, e: 206 206 failed_excpetion = e 207 207 retries += 1
Note: See TracChangeset
for help on using the changeset viewer.