From cae89d4cf6c575662cdd5d7f1b55b3ffb2034d48 Mon Sep 17 00:00:00 2001 From: Stacy Brock Date: Mon, 17 Feb 2014 14:24:17 -0800 Subject: [PATCH] Remove unneeded import --- pyVim/connect.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyVim/connect.py b/pyVim/connect.py index 313a16c..4ba2a19 100644 --- a/pyVim/connect.py +++ b/pyVim/connect.py @@ -427,8 +427,6 @@ def __GetServiceVersionDescription(protocol, server, port, path): tree = ElementTree() - import urllib2 - url = "%s://%s:%s/%s/vimServiceVersions.xml" % (protocol, server, port, path) try: with closing(urllib2.urlopen(url)) as sock: