This commit is contained in:
Sviatoslav Sydorenko 2017-06-08 08:44:22 +00:00 committed by GitHub
commit f8de2e4621
6 changed files with 9 additions and 14 deletions

View file

@ -57,7 +57,7 @@ def main(argv=None):
retv = 0
for filename in args.filenames:
contents = io.open(filename).read()
contents = open(filename).read()
retv |= check_docstring_first(contents, filename=filename)
return retv