Small pyflakes stuff

This commit is contained in:
rocky
2016-05-20 21:37:46 -04:00
parent f834b46b84
commit 68ff878b3e
7 changed files with 7 additions and 92 deletions

View File

@@ -26,8 +26,6 @@
Probably a complete rewrite would be sensefull. hG/2000-12-27
"""
from __future__ import print_function
import sys
__docformat__ = 'restructuredtext'
@@ -45,13 +43,6 @@ IS_PYPY = '__pypy__' in sys.builtin_module_names
sys.setrecursionlimit(5000)
def check_python_version(program):
if not (sys.version_info[0:2] in ((2, 6), (2, 7), (3, 2), (3, 3), (3, 4), (3, 5))):
print('Error: %s requires Python 2.6, 2.7, 3.2, 3.3, 3.4 or 3.5' % program,
file=sys.stderr)
sys.exit(-1)
return
import uncompyle6.semantics.pysource
import uncompyle6.semantics.fragments
import uncompyle6.load