From: Brian Warner Date: Fri, 13 Feb 2009 07:00:22 +0000 (-0700) Subject: figleaf_htmlizer: oops, re-ignore files that aren't under root, like code in auto... X-Git-Tag: allmydata-tahoe-1.3.0~8 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/architecture.txt?a=commitdiff_plain;h=aee319e2366af1a33c852f00a3f82c5c638bc246;p=tahoe-lafs%2Ftahoe-lafs.git figleaf_htmlizer: oops, re-ignore files that aren't under root, like code in auto-built eggs --- diff --git a/src/allmydata/util/figleaf_htmlizer.py b/src/allmydata/util/figleaf_htmlizer.py index ac5946db..f12538d7 100644 --- a/src/allmydata/util/figleaf_htmlizer.py +++ b/src/allmydata/util/figleaf_htmlizer.py @@ -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)