commit a80a1ed897c560a45d1942c7c518dbb347eceeb7
parent 86af264942ad5eb9873995f6fd511e53be8460c9
Author: Suzanne Soy <git@suzanne.soy>
Date: Sun, 21 Feb 2021 21:54:22 +0000
debug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hash-files.py b/hash-files.py
@@ -62,7 +62,7 @@ def recur(depth, x):
#print(x)
# initial list of paths
if isinstance(x, list):
- print("ROOT " + str(depth) + ' ' + x, file=sys.stderr)
+ print("ROOT " + str(depth) + ' [' + ', '.join(x) + ']', file=sys.stderr)
return b'root\0' + b''.join(recur(depth + 1, os.path.abspath(path)) + b' ' + path.encode('utf-8') + b'\0' for path in sorted(x))
# GIT repo
elif is_git(x):