From a80a1ed897c560a45d1942c7c518dbb347eceeb7 Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Sun, 21 Feb 2021 21:54:22 +0000 Subject: [PATCH] debug --- hash-files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash-files.py b/hash-files.py index f5e14c3..35f42f5 100755 --- 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):