mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
Remove Python 2 leftovers.
Fixes: 1ca0323e7c ("Require Python 3 and remove support for Python 2.")
Reported at: https://bugzilla.redhat.com/show_bug.cgi?id=1949875
Signed-off-by: Rosemarie O'Riorden <roriorde@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
committed by
Ilya Maximets
parent
ad256c3140
commit
bd90524550
@@ -26,8 +26,6 @@ import socket
|
||||
import struct
|
||||
import subprocess
|
||||
|
||||
import exceptions
|
||||
|
||||
import xmlrpc.client
|
||||
|
||||
|
||||
@@ -88,7 +86,7 @@ def start_process(args):
|
||||
stderr=subprocess.PIPE)
|
||||
out, err = p.communicate()
|
||||
return (p.returncode, out, err)
|
||||
except exceptions.OSError:
|
||||
except OSError:
|
||||
return (-1, None, None)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user