# HG changeset patch
# User Paul Crowley <paul@lshift.net>
# Date 1235128234 0
# Node ID 0e77495e91e238dd420303e6f8ca6f3e692bbc39
# Parent  de0c61b778fa49062454dee12ee497e62189b1f3
Don't just complain, fail

diff -r de0c61b778fa -r 0e77495e91e2 src/do-refresh-auth
--- 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):