summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-19 20:57:12 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-19 20:57:12 -0700
commitf328abcb49024c54bc77379ae78f4401015f7f31 (patch)
tree3b4824bd75236b0dd7714ef5be4a78aaef3a2f28
parenta07ff5c4be32ae12aea2cc916c010c3b2b22f1b5 (diff)
downloadvyos-cloud-init-f328abcb49024c54bc77379ae78f4401015f7f31.tar.gz
vyos-cloud-init-f328abcb49024c54bc77379ae78f4401015f7f31.zip
Fix comparison to none, instead of empty in ds_deps assignment check.
-rw-r--r--cloudinit/stages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/stages.py b/cloudinit/stages.py
index d3e61ddc..95ac5313 100644
--- a/cloudinit/stages.py
+++ b/cloudinit/stages.py
@@ -54,7 +54,7 @@ LOG = logging.getLogger(__name__)
class Init(object):
def __init__(self, ds_deps=None):
- if ds_deps:
+ if ds_deps is not None:
self.ds_deps = ds_deps
else:
self.ds_deps = [sources.DEP_FILESYSTEM, sources.DEP_NETWORK]