diff options
author | Cole Robinson <crobinso@redhat.com> | 2013-09-29 11:31:03 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2013-09-29 11:31:03 -0400 |
commit | 74e8fff069f4ea08a4b606a4fadee08af33d6a3a (patch) | |
tree | a323b5dd09dfbb65043c9a470d840b33c5d2151f /virtinst/storage.py | |
parent | 86a98f0d39290887c3c95fd374b077d45814733c (diff) | |
download | virt-manager-74e8fff069f4ea08a4b606a4fadee08af33d6a3a.tar.gz |
clone: Fix a few misc issues
Diffstat (limited to 'virtinst/storage.py')
-rw-r--r-- | virtinst/storage.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/virtinst/storage.py b/virtinst/storage.py index ec880da7..5baa9ae0 100644 --- a/virtinst/storage.py +++ b/virtinst/storage.py @@ -721,13 +721,14 @@ class StorageVolume(_StorageObject): def _progress_thread(self, meter): lookup_attempts = 10 vol = None - if not meter: return while lookup_attempts > 0: try: - vol = self.pool.storageVolLookupByName(self.name) + if not vol: + vol = self.pool.storageVolLookupByName(self.name) + vol.info() break except: lookup_attempts -= 1 |