Skip to content
Snippets Groups Projects
Commit bf1b131d authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'py3.EventInfo-20200302' into 'master'

EventInfo: Python 3 fixes

See merge request atlas/athena!30802
parents ed75b4f6 3f8e944d
No related branches found
No related tags found
No related merge requests found
...@@ -66,3 +66,7 @@ set_target_properties( EventInfo_TagInfo_test PROPERTIES ENABLE_EXPORTS True ) ...@@ -66,3 +66,7 @@ set_target_properties( EventInfo_TagInfo_test PROPERTIES ENABLE_EXPORTS True )
atlas_install_python_modules( python/*.py ) atlas_install_python_modules( python/*.py )
atlas_install_joboptions( share/*.py ) atlas_install_joboptions( share/*.py )
atlas_add_test( flake8
SCRIPT flake8 --select=ATL,F,E7,E9,W6 ${CMAKE_CURRENT_SOURCE_DIR}/python
POST_EXEC_SCRIPT nopost.sh )
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
from __future__ import print_function
# #
# Params for EventInfo classes # Params for EventInfo classes
...@@ -25,7 +27,7 @@ class EventInfoParams: ...@@ -25,7 +27,7 @@ class EventInfoParams:
def Print (cls): def Print (cls):
for attr in dir(cls)[:]: for attr in dir(cls)[:]:
print attr print (attr)
def is_simulation_bit (self): def is_simulation_bit (self):
return self.is_simulation return self.is_simulation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment