diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-19 20:57:12 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-19 20:57:12 -0700 |
commit | f328abcb49024c54bc77379ae78f4401015f7f31 (patch) | |
tree | 3b4824bd75236b0dd7714ef5be4a78aaef3a2f28 | |
parent | a07ff5c4be32ae12aea2cc916c010c3b2b22f1b5 (diff) | |
download | vyos-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.py | 2 |
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] |