Fix use of 'file' as a variable name.

(I've tested the fixes, but please proofread anyway.)
This commit is contained in:
Andrew M. Kuchling 2003-05-13 18:14:25 +00:00
parent bf1bef820c
commit ac6df95d07
16 changed files with 108 additions and 107 deletions

View file

@ -38,9 +38,9 @@ def mkrealdir(name):
os.chmod(name, mode)
linkto = join(os.pardir, linkto)
#
for file in files:
if file not in (os.curdir, os.pardir):
os.symlink(join(linkto, file), join(name, file))
for filename in files:
if filename not in (os.curdir, os.pardir):
os.symlink(join(linkto, filename), join(name, filename))
def main():
sys.stdout = sys.stderr