Show More
@@ -31,9 +31,8 b' def copyfile(src, dst, basedir=None):' | |||||
31 | raise util.Abort(_("cannot create %s: destination already exists") % |
|
31 | raise util.Abort(_("cannot create %s: destination already exists") % | |
32 | dst) |
|
32 | dst) | |
33 |
|
33 | |||
34 | targetdir = os.path.dirname(absdst) |
|
34 | if not os.path.isdir(basedir): | |
35 |
|
|
35 | os.makedirs(basedir) | |
36 | os.makedirs(targetdir) |
|
|||
37 |
|
36 | |||
38 | util.copyfile(abssrc, absdst) |
|
37 | util.copyfile(abssrc, absdst) | |
39 |
|
38 |
General Comments 0
You need to be logged in to leave comments.
Login now