summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2012-10-24 15:20:17 -0400
committerCole Robinson <crobinso@redhat.com>2012-10-24 15:23:30 -0400
commit2eb239752788efb50122454579e89ea243ecc774 (patch)
treee2bd88f9a270c721b43ea3763ec8d708c07fbda2
parent8f6b1f977b01a0b9057a4ade6813f41650887fc8 (diff)
downloadvirt-manager-2eb239752788efb50122454579e89ea243ecc774.tar.gz
create: Fix backtrace when showing all OS options
-rw-r--r--src/virtManager/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtManager/create.py b/src/virtManager/create.py
index ee4665ea..ed91ba3f 100644
--- a/src/virtManager/create.py
+++ b/src/virtManager/create.py
@@ -801,7 +801,7 @@ class vmmCreate(vmmGObjectUI):
def populate_os_variant_model(self, _type):
model = self.widget("install-os-version").get_model()
model.clear()
- if _type == None:
+ if not _type:
self._add_os_row(model, None, _("Generic"), True)
return