]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
figleaf_htmlizer: oops, re-ignore files that aren't under root, like code in auto...
authorBrian Warner <warner@lothar.com>
Fri, 13 Feb 2009 07:00:22 +0000 (00:00 -0700)
committerBrian Warner <warner@lothar.com>
Fri, 13 Feb 2009 07:00:22 +0000 (00:00 -0700)
src/allmydata/util/figleaf_htmlizer.py

index ac5946db4ff50e6a6c2107f32b7898110b8910c9..f12538d735af05f2f6ed2138e32694143869df33 100644 (file)
@@ -98,6 +98,8 @@ class Renderer:
                 continue
             if not k.startswith("/"):
                 continue
+            if root and not k.startswith(root):
+                continue
 
             display_filename = self.make_display_filename(k)
             info = self.process_file(k, display_filename, coverage)