##// END OF EJS Templates
patch: catch only IOError from makedirs()
Patrick Mezard -
r7507:8e76e9f6 default
parent child Browse files
Show More
@@ -32,7 +32,7 b' def copyfile(src, dst, basedir):'
32 if dstdir and not os.path.isdir(dstdir):
32 if dstdir and not os.path.isdir(dstdir):
33 try:
33 try:
34 os.makedirs(dstdir)
34 os.makedirs(dstdir)
35 except:
35 except IOError:
36 raise util.Abort(
36 raise util.Abort(
37 _("cannot create %s: unable to create destination directory")
37 _("cannot create %s: unable to create destination directory")
38 % dst)
38 % dst)
General Comments 0
You need to be logged in to leave comments. Login now