Don't use python_version directly on evaluator anymore

This commit is contained in:
Dave Halter committed 2017-12-28 01:44:59 +01:00
1 parent 31f1913b07
commit 6b6795c40c
3 files changed
+5 -4

No files matched your search

-3
View File
@@ -62,8 +62,6 @@ only *evaluates* what needs to be *evaluated*. All the statements and modules
that are not used are just being ignored.
"""
import sys
from parso.python import tree
import parso
@@ -104,7 +102,6 @@ class Evaluator(object):
self.analysis = []
self.dynamic_params_depth = 0
self.is_analysis = False
self.python_version = sys.version_info[:2]
self.project = project
self.access_cache = {}
project.add_evaluator(self)