Loading ccnode/libvirtwrapper.py +5 −5 Original line number Diff line number Diff line Loading @@ -284,7 +284,7 @@ class LibvirtStoragePool(StoragePool): data = self._lvpool_handle.name() if data: name = data except libvirtError: except libvirt.libvirtError: pass return name Loading Loading @@ -354,7 +354,7 @@ class LibvirtStorageVolume(StorageVolume): data = self._lvvol_handle.name() if data: name = data except libvirtError: except libvirt.libvirtError: pass return name Loading @@ -364,7 +364,7 @@ class LibvirtStorageVolume(StorageVolume): capacity = None try: capacity = self._lvvol_handle.info()[1] except libvirtError: except libvirt.libvirtError: pass return capacity Loading @@ -374,7 +374,7 @@ class LibvirtStorageVolume(StorageVolume): allocated = None try: allocated = self._lvvol_handle.info()[2] except libvirtError: except libvirt.libvirtError: pass return allocated Loading @@ -384,7 +384,7 @@ class LibvirtStorageVolume(StorageVolume): path = None try: path = self._lvvol_handle.path() except libvirtError: except libvirt.libvirtError: pass return path Loading Loading
ccnode/libvirtwrapper.py +5 −5 Original line number Diff line number Diff line Loading @@ -284,7 +284,7 @@ class LibvirtStoragePool(StoragePool): data = self._lvpool_handle.name() if data: name = data except libvirtError: except libvirt.libvirtError: pass return name Loading Loading @@ -354,7 +354,7 @@ class LibvirtStorageVolume(StorageVolume): data = self._lvvol_handle.name() if data: name = data except libvirtError: except libvirt.libvirtError: pass return name Loading @@ -364,7 +364,7 @@ class LibvirtStorageVolume(StorageVolume): capacity = None try: capacity = self._lvvol_handle.info()[1] except libvirtError: except libvirt.libvirtError: pass return capacity Loading @@ -374,7 +374,7 @@ class LibvirtStorageVolume(StorageVolume): allocated = None try: allocated = self._lvvol_handle.info()[2] except libvirtError: except libvirt.libvirtError: pass return allocated Loading @@ -384,7 +384,7 @@ class LibvirtStorageVolume(StorageVolume): path = None try: path = self._lvvol_handle.path() except libvirtError: except libvirt.libvirtError: pass return path Loading