summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
authorharlowja <harlowja@virtualbox.rhel>2012-06-23 15:06:26 -0700
committerharlowja <harlowja@virtualbox.rhel>2012-06-23 15:06:26 -0700
commita75e77a8a5b03294eb79dec5d8d1d8e3bf9ba7c1 (patch)
tree0d352e76dbe8d6315e7b7d58704c178604e35fd9 /cloudinit/sources
parent4e938eef6581769c086e417a24206274f26b8a95 (diff)
parenta0f42d8f96248d519e70a86e470868616dea3d6e (diff)
downloadvyos-cloud-init-a75e77a8a5b03294eb79dec5d8d1d8e3bf9ba7c1.tar.gz
vyos-cloud-init-a75e77a8a5b03294eb79dec5d8d1d8e3bf9ba7c1.zip
Fix a bunch of == None cases
Diffstat (limited to 'cloudinit/sources')
-rw-r--r--cloudinit/sources/DataSourceOVF.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceOVF.py b/cloudinit/sources/DataSourceOVF.py
index f38fb4b9..7728b36f 100644
--- a/cloudinit/sources/DataSourceOVF.py
+++ b/cloudinit/sources/DataSourceOVF.py
@@ -186,7 +186,7 @@ def transport_iso9660(require_iso=True):
fstype = info['fstype']
if fstype != "iso9660" and require_iso:
continue
- if cdmatch.match(dev[5:]) == None: # take off '/dev/'
+ if cdmatch.match(dev[5:]) is None: # take off '/dev/'
continue
mp = info['mountpoint']
(fname, contents) = get_ovf_env(mp)