If something isn’t a directory, print what it is
- ID
47e0c11- date
2022-04-03 08:11:22+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
2a09f9f- message
If something isn't a directory, print what it is- changed files
1 file, 1 addition, 1 deletion
Changed files
cdir (1398) → cdir (1401)
diff --git a/cdir b/cdir
index cf75b80..e1c0a85 100755
--- a/cdir
+++ b/cdir
@@ -26,7 +26,7 @@ import os
def count_entries_under(d):
- assert os.path.isdir(d)
+ assert os.path.isdir(d), d
total = 1
for _, dirnames, filenames in os.walk(d):