Eli Bendersky <[email protected]> added the comment:
It appears this breaks "make patchcheck" in trunk:
./python ./Tools/scripts/patchcheck.py
Getting the list of files that have been added/changed ... 5 files
Fixing whitespace ... Traceback (most recent call last):
File "./Tools/scripts/patchcheck.py", line 147, in <module>
main()
File "./Tools/scripts/patchcheck.py", line 129, in main
normalize_whitespace(python_files)
File "./Tools/scripts/patchcheck.py", line 22, in call_fxn
result = fxn(*args, **kwargs)
File "./Tools/scripts/patchcheck.py", line 66, in normalize_whitespace
fixed = [path for path in file_paths if path.endswith('.py') and
File "./Tools/scripts/patchcheck.py", line 67, in <listcomp>
reindent.check(path)]
File "/home/eliben/python-src/33/Tools/scripts/reindent.py", line 129, in
check
newline = spec_newline if spec_newline else r.newlines
NameError: global name 'spec_newline' is not defined
make: *** [patchcheck] Error 1
----------
nosy: +eli.bendersky
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10639>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com