From a8dbebd4ba54d79296ebbc3b8ba9f5c3420304fe Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 13 Aug 2013 14:26:25 +0200 Subject: [PATCH] virt-manager: fix refreshing storage pool browse list The commit b044dd renamed vmmStoragePool.uuid to vmmStoragePool._uuid, causing this error: Traceback (most recent call last): File "virtManager/storagebrowse.py", line 280, in refresh_current_pool self.refresh_storage_pool(None, cp.get_uuid()) File "virtManager/storagebrowse.py", line 243, in refresh_storage_pool if curpool.uuid != uuid: AttributeError: 'vmmStoragePool' object has no attribute 'uuid' Signed-off-by: Giuseppe Scrivano --- virtManager/storagebrowse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtManager/storagebrowse.py b/virtManager/storagebrowse.py index c0c36be31..1732eea07 100644 --- a/virtManager/storagebrowse.py +++ b/virtManager/storagebrowse.py @@ -240,7 +240,7 @@ class vmmStorageBrowser(vmmGObjectUI): pool_list = self.widget("pool-list") host.refresh_pool_in_list(pool_list, self.conn, uuid) curpool = self.current_pool() - if curpool.uuid != uuid: + if curpool.get_uuid() != uuid: return # Currently selected pool changed state: force a 'pool_selected' to