summaryrefslogtreecommitdiff
path: root/virtManager/connection.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2013-08-09 09:23:01 -0400
committerCole Robinson <crobinso@redhat.com>2013-08-11 12:39:28 -0400
commit7c55cfeb39d8fffbe3b9c50e71207bcec2a06ee0 (patch)
treedc504329e87f6535e54594978e888e4a1770a538 /virtManager/connection.py
parent952708f5095d031d182eab7ad622b18ee36f5d6d (diff)
downloadvirt-manager-7c55cfeb39d8fffbe3b9c50e71207bcec2a06ee0.tar.gz
virtManager: Drop util, combine it with virtinst.util and uihelpers
Diffstat (limited to 'virtManager/connection.py')
-rw-r--r--virtManager/connection.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/virtManager/connection.py b/virtManager/connection.py
index 6ede04b9..04de17f2 100644
--- a/virtManager/connection.py
+++ b/virtManager/connection.py
@@ -33,8 +33,9 @@ import traceback
import libvirt
import virtinst
from virtinst import pollhelpers
+from virtinst import util
-from virtManager import util
+from virtManager import uihelpers
from virtManager import connectauth
from virtManager.baseclass import vmmGObject
from virtManager.domain import vmmDomain
@@ -323,7 +324,7 @@ class vmmConnection(vmmGObject):
return match_whole_string(orig, "[0-9.]+")
(scheme, username, hostname,
- path, ignore, ignore) = virtinst.util.uri_split(self.get_uri())
+ path, ignore, ignore) = util.uri_split(self.get_uri())
hv = ""
rest = ""
@@ -430,7 +431,7 @@ class vmmConnection(vmmGObject):
else:
# Try to create the default storage pool
try:
- util.build_default_pool(self)
+ uihelpers.build_default_pool(self)
except Exception, e:
logging.debug("Building default pool failed: %s", str(e))