diff options
author | elie <elie> | 2005-07-12 10:50:12 +0000 |
---|---|---|
committer | elie <elie> | 2005-07-12 10:50:12 +0000 |
commit | bb4d8a3b4e26a17a014a92e28f728947a4117263 (patch) | |
tree | 0f6ef2921858465a75ffb2558c579f803db37845 | |
parent | 3b846e767ce62990e09e2c3c03e62480bf8486f3 (diff) | |
download | pysnmp-bb4d8a3b4e26a17a014a92e28f728947a4117263.tar.gz |
runDispatcher() won't take any arg; use start/stopDispatcher() instead
-rw-r--r-- | pysnmp/carrier/asynsock/dispatch.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pysnmp/carrier/asynsock/dispatch.py b/pysnmp/carrier/asynsock/dispatch.py index 5d001f7..eca5466 100644 --- a/pysnmp/carrier/asynsock/dispatch.py +++ b/pysnmp/carrier/asynsock/dispatch.py @@ -45,8 +45,7 @@ class AsynsockDispatcher(base.AbstractTransportDispatcher): self.getTransport(tDomain).unregisterSocket(self.__sockMap) base.AbstractTransportDispatcher.unregisterTransport(self, tDomain) - def runDispatcher(self, liveForever=1): - self._doDispatchFlag = liveForever + def runDispatcher(self): while 1: poll(self.timeout, self.__sockMap) self.handleTimerTick(time()) |