src/do-refresh-auth
changeset 42 0e77495e91e2
parent 39 f5055ce263c7
child 50 77d97aa18f29
--- a/src/do-refresh-auth	Fri Feb 20 11:09:28 2009 +0000
+++ b/src/do-refresh-auth	Fri Feb 20 11:10:34 2009 +0000
@@ -36,8 +36,7 @@
         for fn in files:
             ffn = os.path.join(root, fn)
             if not ffn.startswith(kr):
-                print "Weird, walk returned unexpected result"
-                continue
+                raise Exception("Inconsistent behaviour in os.walk, bailing")
             #print "Processing file", ffn
             keyname = ffn[len(kr):]
             if not ruleset.goodpath(keyname):