Commits

Anonymous committed d1623a6

Fix return code

Comments (0)

Files changed (1)

python/PyComps.py

     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