Skip to content
Snippets Groups Projects
Commit fd30d7ea authored by Marco Clemencic's avatar Marco Clemencic
Browse files

address the problem described in ROOT-6315

Make the enum overriding optional.

https://sft.its.cern.ch/jira/browse/ROOT-6315
parent 2e374b7a
No related branches found
No related tags found
No related merge requests found
Package: GaudiPython
Package manager : Marco Clemencic
! 2014-05-24 - Marco Clemencic
- Address the problem described in ROOT-6315 by making the enum overriding
optional.
! 2014-05-21 - Marco Clemencic
- Moved dictionary for InterfaceID from GaudiPython to GaudiKernel.
......
......@@ -95,8 +95,10 @@ gbl.IUpdateManagerSvc.update = lambda self,obj: gbl.IUpdateManagerSvc.PythonHelp
gbl.IUpdateManagerSvc.invalidate = lambda self,obj: gbl.IUpdateManagerSvc.PythonHelper.invalidate(self,obj)
#---Globals--------------------------------------------------------------------
gbl.StatusCode.SUCCESS = 1
gbl.StatusCode.FAILURE = 0
if not hasattr(gbl.StatusCode, 'SUCCESS'):
# emulate enums
gbl.StatusCode.SUCCESS = 1
gbl.StatusCode.FAILURE = 0
# - string key, equality
if hasattr ( gbl.Gaudi.StringKey ,'__cpp_eq__' ) :
......
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