1. binet
  2. mana-core-athenamp

Commits

gemm...@4525493e-7705-40b1-a816-d608a930855b  committed d1623a6

Fix return code

  • Participants
  • Parent commits df37010
  • Branches master

Comments (0)

Files changed (1)

File python/PyComps.py

View file
     evtloop_mgr.msg.info ("run_reader [%s-%s]: nbr of events to process: %i",
                           ppid,pid,evts)
     sc = evtloop_mgr.readEvent (evts)
-    if not sc.isSuccess():
+    if sc != Success:
         evtloop_mgr.msg.error ("failed to read %i events", evts)
         out.append ((pid,evts,app._exitstate, 'ERR'))
         return out