diff options
| author | Justin Santa Barbara <justinsb@justinsb-desktop> | 2010-10-15 11:06:16 -0700 |
|---|---|---|
| committer | Justin Santa Barbara <justinsb@justinsb-desktop> | 2010-10-15 11:06:16 -0700 |
| commit | 98623a160078dfed7347dcd1539b0cd27e51644a (patch) | |
| tree | 28f39af4c135dee1c85bec27ee837d870a19688d | |
| parent | f8028c0a4cd1c3cfb8a9c6b4c397fd67ce912cce (diff) | |
Removed 'and True' oddity
| -rw-r--r-- | nova/virt/libvirt_conn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt_conn.py b/nova/virt/libvirt_conn.py index 68791c28a..d78a8f0db 100644 --- a/nova/virt/libvirt_conn.py +++ b/nova/virt/libvirt_conn.py @@ -324,7 +324,7 @@ class LibvirtConnection(object): if not os.path.exists(basepath('disk')): yield images.fetch(inst.image_id, basepath('disk-raw'), user, project) - using_kernel = inst.kernel_id and True + using_kernel = inst.kernel_id if using_kernel: if not os.path.exists(basepath('kernel')): yield images.fetch(inst.kernel_id, basepath('kernel'), user, project) |
