summaryrefslogtreecommitdiff
path: root/python/ovstest/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/ovstest/util.py')
-rw-r--r--python/ovstest/util.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/ovstest/util.py b/python/ovstest/util.py
index 72457158f..270d6a037 100644
--- a/python/ovstest/util.py
+++ b/python/ovstest/util.py
@@ -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)