From 7bb98c3be2d2b89205de4ebce4b85aa125d1e0e6 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Wed, 17 Apr 2013 13:01:30 -0400 Subject: [PATCH] details: Fix listing static HW pages --- virtManager/details.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtManager/details.py b/virtManager/details.py index 814ba179c..027c0d61c 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -3604,7 +3604,7 @@ class vmmDetails(vmmGObjectUI): olddev = hw_list_model[i][HW_LIST_COL_DEVICE] # Existing device, don't remove it - if not olddev or olddev in currentDevices: + if type(olddev) is str or olddev in currentDevices: continue hw_list_model.remove(_iter)