Show More
@@ -1129,10 +1129,9 b' def copyfiles(src, dst, hardlink=None, p' | |||||
1129 | if hardlink is None: |
|
1129 | if hardlink is None: | |
1130 | hardlink = (os.stat(src).st_dev == |
|
1130 | hardlink = (os.stat(src).st_dev == | |
1131 | os.stat(os.path.dirname(dst)).st_dev) |
|
1131 | os.stat(os.path.dirname(dst)).st_dev) | |
1132 | if hardlink: |
|
1132 | ||
1133 | topic = _('linking') |
|
1133 | gettopic = lambda: hardlink and _('linking') or _('copying') | |
1134 | else: |
|
1134 | topic = gettopic() | |
1135 | topic = _('copying') |
|
|||
1136 |
|
1135 | |||
1137 | if os.path.isdir(src): |
|
1136 | if os.path.isdir(src): | |
1138 | os.mkdir(dst) |
|
1137 | os.mkdir(dst) |
General Comments 0
You need to be logged in to leave comments.
Login now