From a52957a0afb5cf0ad47be3bafd397a276f0f3c62 Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Tue, 29 Jan 2013 12:25:39 -0700 Subject: [PATCH] kill a zmq finally --- salt/payload.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/salt/payload.py b/salt/payload.py index 5af5e3429a..0cfebcd278 100644 --- a/salt/payload.py +++ b/salt/payload.py @@ -156,10 +156,7 @@ class SREQ(object): timeout * tried ) ) - try: - return self.serial.loads(self.socket.recv()) - finally: - self.poller.unregister(self.socket) + return self.serial.loads(self.socket.recv()) def send_auto(self, payload): '''