diff options
author | Cole Robinson <crobinso@redhat.com> | 2012-10-24 15:20:17 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2012-10-24 15:23:30 -0400 |
commit | 2eb239752788efb50122454579e89ea243ecc774 (patch) | |
tree | e2bd88f9a270c721b43ea3763ec8d708c07fbda2 | |
parent | 8f6b1f977b01a0b9057a4ade6813f41650887fc8 (diff) | |
download | virt-manager-2eb239752788efb50122454579e89ea243ecc774.tar.gz |
create: Fix backtrace when showing all OS options
-rw-r--r-- | src/virtManager/create.py | 2 |
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 |