summaryrefslogtreecommitdiff
path: root/virtinst/connection.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2020-01-28 11:42:33 -0500
committerCole Robinson <crobinso@redhat.com>2020-01-28 11:42:33 -0500
commitd9d5caad0dff9032e51f77591a134c4f2c52405b (patch)
tree7bf21e4d13ef7d799407f9e9d41ec88aa194e505 /virtinst/connection.py
parent4f7e25e9fe7a159abd6f2388572d822b8e2e2996 (diff)
downloadvirt-manager-d9d5caad0dff9032e51f77591a134c4f2c52405b.tar.gz
virtinst: connection: Drop is_closed() helper
We have is_open, just use that Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtinst/connection.py')
-rw-r--r--virtinst/connection.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/virtinst/connection.py b/virtinst/connection.py
index 7f4ea6a0..9a39a93c 100644
--- a/virtinst/connection.py
+++ b/virtinst/connection.py
@@ -124,9 +124,6 @@ class VirtinstConnection(object):
# Public API #
##############
- def is_closed(self):
- return not bool(self._libvirtconn)
-
def close(self):
ret = 0
if self._libvirtconn: