file bir built-in
This commit is contained in:
+2
-2
@@ -186,8 +186,8 @@ def get_file_hashes(top, excludePrefixes=None, removePrefix=None):
|
|||||||
if [e for e in excludePrefixes if p.startswith(e)]:
|
if [e for e in excludePrefixes if p.startswith(e)]:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for file in files:
|
for fname in files:
|
||||||
f = os.path.join(root, file)
|
f = os.path.join(root, fname)
|
||||||
yield (f, sha1_file(f))
|
yield (f, sha1_file(f))
|
||||||
|
|
||||||
def copy_dir(src, dest):
|
def copy_dir(src, dest):
|
||||||
|
|||||||
Reference in New Issue
Block a user