Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2008-12-01 08:21:03 +0100 (Mon, 01 Dec 2008)
New Revision: 5741
Fix: os.walk patch
--- trunk/docutils/tools/buildhtml.py 2008-11-30 10:01:44 UTC (rev 5740)
+++ trunk/docutils/tools/buildhtml.py 2008-12-01 07:21:03 UTC (rev 5741)
@@ -182,8 +182,10 @@
self.directories = [os.getcwd()]
for directory in self.directories:
- os.path.walk(directory, self.visit, recurse)
+ for root, dirs, files in os.walk(directory):
+ self.visit(recurse, root, dirs+files)
except (AttributeError): # python2.2 does not have os.walk
+ print "no os.walk"
os.path.walk(directory, self.visit, recurse)
def visit(self, recurse, directory, names):
Sign up for the SourceForge newsletter: