2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-13 14:07:02 +00:00

python: Start fixing some Python 3 issues.

This patch fixes just the Python 3 problems found by running:

  python3 setup.py install

There are still many other issues to be fixed, but this is a start.

Signed-off-by: Terry Wilson <twilson@redhat.com>
[russell@ovn.org resolved conflicts with current master]
Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Terry Wilson
2015-07-29 21:12:45 -05:00
committed by Russell Bryant
parent ab2a3154f0
commit 3ab76c56d8
9 changed files with 49 additions and 46 deletions

View File

@@ -168,7 +168,7 @@ class Poller(object):
try:
events = self.poll.poll(self.timeout)
self.__log_wakeup(events)
except select.error, e:
except select.error as e:
# XXX rate-limit
error, msg = e
if error != errno.EINTR: