Show More
@@ -458,7 +458,7 b' def copyfiles(src, dst, hardlink=None):' | |||
|
458 | 458 | for name, kind in osutil.listdir(src): |
|
459 | 459 | srcname = os.path.join(src, name) |
|
460 | 460 | dstname = os.path.join(dst, name) |
|
461 | copyfiles(srcname, dstname, hardlink) | |
|
461 | hardlink = copyfiles(srcname, dstname, hardlink) | |
|
462 | 462 | else: |
|
463 | 463 | if hardlink: |
|
464 | 464 | try: |
@@ -469,6 +469,8 b' def copyfiles(src, dst, hardlink=None):' | |||
|
469 | 469 | else: |
|
470 | 470 | shutil.copy(src, dst) |
|
471 | 471 | |
|
472 | return hardlink | |
|
473 | ||
|
472 | 474 | class path_auditor(object): |
|
473 | 475 | '''ensure that a filesystem path contains no banned components. |
|
474 | 476 | the following properties of a path are checked: |
General Comments 0
You need to be logged in to leave comments.
Login now