Message ID | CAM_3v9K-z3uNPz21Sik4sTy6RA8uaTkThtLS-rqYp2e9RcppvA@mail.gmail.com |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/python/ovs/poller.py b/python/ovs/poller.py index 3ebaf5a..de6bf22 100644 --- a/python/ovs/poller.py +++ b/python/ovs/poller.py @@ -172,8 +172,7 @@ class Poller(object): except OSError as e: """ On Windows, the select function from poll raises OSError exception if the polled array is empty.""" - error = e.errno - if error != errno.EINTR: + if e.errno != errno.EINTR: vlog.err("poll: %s" % os.strerror(e.errno)) except select.error as e: