Skip to content

Commit

Permalink
Do not shadow method.
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-biber committed Mar 22, 2014
1 parent 08cb495 commit 8ab9b44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions siv.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ def main():
paths = []
if args.ignore_missing:
for path in args.paths:
file = path + args.suffix
if not os.path.exists(file):
sys.stderr.write("Ignoring missing file: %s\n" % file)
filename = path + args.suffix
if not os.path.exists(filename):
sys.stderr.write("Ignoring missing file: %s\n" % filename)
else:
paths.append(path)
else:
Expand Down

0 comments on commit 8ab9b44

Please sign in to comment.