From 7e9e07608f33f57b620b2dca78cf0e1d9da4d53f Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 29 Jun 2015 10:58:59 -0400 Subject: - Fix logic change introduced by 1000.1.1 --- cloudinit/config/cc_rightscale_userdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinit/config/cc_rightscale_userdata.py b/cloudinit/config/cc_rightscale_userdata.py index 24880d13..0ecf3a4d 100644 --- a/cloudinit/config/cc_rightscale_userdata.py +++ b/cloudinit/config/cc_rightscale_userdata.py @@ -58,7 +58,7 @@ def handle(name, _cfg, cloud, log, _args): try: mdict = parse_qs(ud) - if mdict or MY_HOOKNAME not in mdict: + if not mdict or MY_HOOKNAME not in mdict: log.debug(("Skipping module %s, " "did not find %s in parsed" " raw userdata"), name, MY_HOOKNAME) -- cgit v1.2.3