##// END OF EJS Templates
Don't trap any copying errors - allow them to bubble up.
Jason Grout -
Show More
@@ -77,10 +77,7 b' def _maybe_copy(src, dest, verbose=1):'
77 77 if _should_copy(src, dest, verbose):
78 78 if verbose >= 1:
79 79 print("copying %s -> %s" % (src, dest))
80 try:
81 shutil.copy2(src, dest)
82 except IOError as e:
83 print(str(e), file=sys.stderr)
80 shutil.copy2(src, dest)
84 81
85 82 def _safe_is_tarfile(path):
86 83 """safe version of is_tarfile, return False on IOError"""
General Comments 0
You need to be logged in to leave comments. Login now