Commit 7f64e249 authored by Guido van Rossum's avatar Guido van Rossum

Official version 1.26 directly from Ken

parent 1311e3ce
...@@ -1224,7 +1224,7 @@ def normalize_pathname(path): ...@@ -1224,7 +1224,7 @@ def normalize_pathname(path):
# We do a lot more when we have posix-style paths, eg os.sep == '/'. # We do a lot more when we have posix-style paths, eg os.sep == '/'.
if os.sep != '/': if os.sep != '/':
return os.path.join(os.getcwd(), path) # ==> return os.path.join(os.getcwd, path) # ==>
outwards, inwards = 0, [] outwards, inwards = 0, []
for nm in string.splitfields(path, os.sep): for nm in string.splitfields(path, os.sep):
...@@ -1358,7 +1358,6 @@ def testExec(msg, execList, locals, globals): ...@@ -1358,7 +1358,6 @@ def testExec(msg, execList, locals, globals):
else: else:
print '' print ''
for stmt in execList: for stmt in execList:
if VERBOSE: print "\t%s" % `stmt`
exec stmt in locals, globals exec stmt in locals, globals
def test(number=0, leaveHiers=0): def test(number=0, leaveHiers=0):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment