[py-svn] r63060 - py/trunk/py/execnet
hpk at codespeak.net
hpk at codespeak.net
Thu Mar 19 10:56:41 CET 2009
Author: hpk
Date: Thu Mar 19 10:56:40 2009
New Revision: 63060
Modified:
py/trunk/py/execnet/gateway.py
Log:
execnet really needs to improve its bootstrapping
Modified: py/trunk/py/execnet/gateway.py
==============================================================================
--- py/trunk/py/execnet/gateway.py (original)
+++ py/trunk/py/execnet/gateway.py Thu Mar 19 10:56:40 2009
@@ -330,7 +330,12 @@
self._cleanup.unregister(self)
self._stopexec()
self._stopsend()
- py._com.pyplugins.notify("gateway_exit", self)
+ try:
+ py._com.pyplugins.notify("gateway_exit", self)
+ except NameError:
+ # on the remote side 'py' is not imported
+ # and so we can't notify (XXX: make execnet synchronous)
+ pass
def _stopsend(self):
self._send(None)
More information about the pytest-commit
mailing list