We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a92001 commit f4bd8ccCopy full SHA for f4bd8cc
setup.py
@@ -1,4 +1,4 @@
1
-# Copyright 2018 Alexey Stepanov aka penguinolog
+# Copyright 2018 - 2019 Alexey Stepanov aka penguinolog
2
3
# Copyright 2016 Mirantis, Inc.
4
@@ -192,10 +192,6 @@ def get_simple_vars_from_src(src):
192
try:
193
if isinstance(node.value, ast_data):
194
value = ast.literal_eval(node.value)
195
- elif isinstance(node.value, ast.Name) and isinstance( # NameConstant in python < 3.4
196
- node.value.ctx, ast.Load # Read constant
197
- ):
198
- value = ast.literal_eval(node.value)
199
else:
200
continue
201
except ValueError:
0 commit comments