Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: skymap
-
Labels:
-
Story Points:0
-
Epic Link:
-
Sprint:AP S18-4
-
Team:Alert Production
Description
Fix the following python 2 error:
/home/jenkins-slave/workspace/stack-os-matrix/centos-7.py2/lsstsw/build/skymap/examples/plotSkyMap.py:189:69: F812 list comprehension redefines 'x' from line 180 /home/jenkins-slave/workspace/stack-os-matrix/centos-7.py2/lsstsw/build/skymap/examples/plotSkyMap.py:189:72: F812 list comprehension redefines 'y' from line 180
|
Attachments
Issue Links
- relates to
-
DM-13998 Enable automatic flake8 testing in skymap
- Done
The fix is trivial, but I don't understand how
DM-13998passed Travis on github and then failed on Jenkins for the same issue. Travis caught an earlier example of the same python-2-only error in the same file. But when I fixed that it passed. Since the file was a Python file in examples (and thus never executed by Jenkins) and it passed Travis's pep8 tests and scons's own pep8 tests passed on my machine, I thought it was safe to merge.