Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unneccesary logging, and remove unneccesary polling

  • Loading branch information...
commit 110ab74060cc5a0c53a01194d879d0dc0f8b9122 1 parent 32bf2d9
@oldpatricka oldpatricka authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 pidantic/pyon/pidpyon.py
View
6 pidantic/pyon/pidpyon.py
@@ -4,7 +4,7 @@
from pidantic.pyon.pyon import Pyon
-from pidantic.state_machine import PIDanticState, PIDanticEvents
+from pidantic.state_machine import PIDanticEvents
from pidantic.ui import PidanticFactory
from pidantic.pidbase import PIDanticStateMachineBase
from pidantic.pidantic_exceptions import PIDanticUsageException # , PIDanticExecutionException
@@ -129,8 +129,7 @@ def _pyon_process_state_change_callback(self, process, state, container):
def poll(self):
"""For Pyon, this function is handled by callbacks from the container
"""
- for pyon_process_id, pidpyon in self._watched_processes.iteritems():
- pidpyon._process_state_change(None)
+ pass
def terminate(self):
self.container.proc_manager.remove_proc_state_changed_callback(self._pyon_process_state_change_callback)
@@ -270,7 +269,6 @@ def _process_state_change(self, state):
event = PIDanticEvents.EVENT_EXITED
self._exit_code = 100
else:
- self._log.debug("Ignoring state %s" % state)
return
Please sign in to comment.
Something went wrong with that request. Please try again.