Skip to content

Commit

Permalink
fix typo that caused smatch to fail (#21)
Browse files Browse the repository at this point in the history
I introduced this bug. Sorry! Here is the fix.
  • Loading branch information
ablodge authored and snowblink14 committed Sep 11, 2019
1 parent 5d39997 commit aaf97e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ def main(arguments):
if not os.path.exists(file_path):
print("Given file", args.f[0], "does not exist", file=ERROR_LOG)
exit(1)
file_handle.append(open(file_path, encoding='utf8))
file_handle.append(open(file_path, encoding='utf8'))
# use opened files
args.f = tuple(file_handle)
# use argparse if python version is 2.7 or later
Expand Down

0 comments on commit aaf97e0

Please sign in to comment.