google / closure-linter

Automatically exported from code.google.com/p/closure-linter
Apache License 2.0
109 stars 37 forks source link

Python version 2.x print in error_fixer.py #108

Closed cnobile2012 closed 6 years ago

cnobile2012 commented 7 years ago

When I ran fixjsstyle, in Python 3.5.2, I got this traceback (closure-linter-2.3.13):

Traceback (most recent call last):
  File "/home/cnobile/.virtualenvs/testsite/bin/fixjsstyle", line 7, in <module>
    from closure_linter.fixjsstyle import main
  File "/home/cnobile/.virtualenvs/testsite/lib/python3.5/site-packages/closure_linter/fixjsstyle.py", line 25, in <module>
    from closure_linter import error_fixer
  File "/home/cnobile/.virtualenvs/testsite/lib/python3.5/site-packages/closure_linter/error_fixer.py", line 489
    print 'Fixed %d errors in %s' % (self._file_fix_count, self._file_name)
                                ^
SyntaxError: invalid syntax
rumpeltux commented 6 years ago

Yes, unfortunately python-3 is not supported by this project and since it’s deprecated there won’t be any work on it either.