From f328abcb49024c54bc77379ae78f4401015f7f31 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Tue, 19 Jun 2012 20:57:12 -0700 Subject: Fix comparison to none, instead of empty in ds_deps assignment check. --- cloudinit/stages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit') 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] -- cgit v1.2.3