Skip to content

PixelAthMonitoringBase : fix issue in recent CI

Christos Anastopoulos requested to merge ATLAS-EGamma/athena:funny_error into master

In a few recent CI one can see

raceback (most recent call last):
  File "/build2/ci-builds/master/Athena/build/Athena/InnerDetector/InDetMonitoring/PixelMonitoring/CMakeFiles/PixelAthMonitoringBasepycGen.py", line 1, in <module>
    import py_compile; py_compile.compile( '/var/lib/jenkins/workspace/CI-MERGE-REQUEST-CC7/master/InnerDetector/InDetMonitoring/PixelMonitoring/python/PixelAthMonitoringBase.py', cfile = '/build2/ci-builds/master/Athena/build/Athena/x86_64-centos7-gcc8-opt/python/PixelMonitoring/PixelAthMonitoringBase.pyc', doraise = True )
  File "/cvmfs/sft.cern.ch/lcg/releases/LCG_96/Python/2.7.16/x86_64-centos7-gcc8-opt/lib/python2.7/py_compile.py", line 117, in compile
    raise py_exc
py_compile.PyCompileError:   File "/var/lib/jenkins/workspace/CI-MERGE-REQUEST-CC7/master/InnerDetector/InDetMonitoring/PixelMonitoring/python/PixelAthMonitoringBase.py", line 11
    if “ServiceMgr” in dir():

This should fix it

i.e fixes this issue

InnerDetector/InDetMonitoring/PixelMonitoring/python/PixelAthMonitoringBase.py:11:4: E999 SyntaxError: invalid syntax

Mentiong @ponyisi @fwinkl @ssnyder @wlampl

Merge request reports

Loading