2016-12-13 20:57:00 |
Maxime Simard |
description |
Hi,
I keep getting that error in my code.
my_tool.py:1444:48: E999 SyntaxError: invalid syntax
all_osd = {x: tmp_all_osd[x] for x in requested_list}
^
Can't figure out what is wrong here.
Python execute the line just fine and the result is as expected.
Using Python 2.7
pyflakes 1.3.0
Any insight?
Thanks a lot,
Max |
Hi,
I keep getting that error in my code.
my_tool.py:1444:48: E999 SyntaxError: invalid syntax
all_osd = {x: tmp_all_osd[x] for x in requested_list}
^
Can't figure out what is wrong here.
Python execute the line just fine and the result is as expected.
Using Python 2.7
pyflakes 1.3.0
flake8 3.2.1 (pyflakes: 1.3.0, flake8-comprehensions: 1.2.1, mccabe: 0.5.2, pycodestyle: 2.2.0) CPython 2.6.6 on Linux
Any insight?
Thanks a lot,
Max |
|