summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-09 20:00:17 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-09 20:00:17 (GMT)
commit4e6531e7dee5ff9b27c108e8614d336657e68a21 (patch)
tree43b23c55f5bd5c6872c71c928e2b68c78dff3880 /Mac
parent14a767d4f499c8ead06a14d9c64c01c4ced95e61 (diff)
downloadcpython-4e6531e7dee5ff9b27c108e8614d336657e68a21.zip
cpython-4e6531e7dee5ff9b27c108e8614d336657e68a21.tar.gz
cpython-4e6531e7dee5ff9b27c108e8614d336657e68a21.tar.bz2
Removed remnants of os.path.walk().
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Tools/Doc/setup.py2
-rw-r--r--Mac/scripts/cachersrc.py2
-rw-r--r--Mac/scripts/zappycfiles.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Tools/Doc/setup.py b/Mac/Tools/Doc/setup.py
index b020b40..a35152c 100644
--- a/Mac/Tools/Doc/setup.py
+++ b/Mac/Tools/Doc/setup.py
@@ -109,7 +109,7 @@ class DocBuild(build):
def hackHtml(self):
self.r = re.compile('<dl><dd>')
- os.path.walk(self.build_html, self.visit, None)
+ os.walk(self.build_html, self.visit, None)
def visit(self, dummy, dirname, filenames):
for f in filenames:
diff --git a/Mac/scripts/cachersrc.py b/Mac/scripts/cachersrc.py
index e0e8415..49a20c0 100644
--- a/Mac/scripts/cachersrc.py
+++ b/Mac/scripts/cachersrc.py
@@ -39,7 +39,7 @@ def main():
if o == '-f':
force = 1
for dir in sys.argv[1:]:
- os.path.walk(dir, handler, (verbose, force))
+ os.walk(dir, handler, (verbose, force))
if __name__ == '__main__':
main()
diff --git a/Mac/scripts/zappycfiles.py b/Mac/scripts/zappycfiles.py
index 77258da..b377e0d 100644
--- a/Mac/scripts/zappycfiles.py
+++ b/Mac/scripts/zappycfiles.py
@@ -22,7 +22,7 @@ def main():
zappyc(dir)
def zappyc(dir):
- os.path.walk(dir, walker, None)
+ os.walk(dir, walker, None)
def walker(dummy, top, names):
for name in names: