Hello community, here is the log from the commit of package cloud-init for openSUSE:Factory checked in at 2015-07-14 17:43:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cloud-init (Old) and /work/SRC/openSUSE:Factory/.cloud-init.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cloud-init" Changes: -------- --- /work/SRC/openSUSE:Factory/cloud-init/cloud-init.changes 2015-06-01 09:51:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cloud-init.new/cloud-init.changes 2015-07-14 17:44:13.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jun 29 14:51:15 UTC 2015 - [email protected] + +- Add no_logic_change.patch to undo upstream logic changes introduced during + style clean up + +------------------------------------------------------------------- New: ---- no_logic_change.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cloud-init.spec ++++++ --- /var/tmp/diff_new_pack.K6e2Cy/_old 2015-07-14 17:44:14.000000000 +0200 +++ /var/tmp/diff_new_pack.K6e2Cy/_new 2015-07-14 17:44:14.000000000 +0200 @@ -39,6 +39,7 @@ Patch10: cloud-init-no-user-lock-if-already-locked.patch Patch11: dataSourceOpenNebula.patch Patch12: fix-default-systemd-unit-dir.patch +Patch13: no_logic_change.patch BuildRequires: fdupes BuildRequires: filesystem BuildRequires: python-devel @@ -136,6 +137,7 @@ %patch10 -p1 %patch11 -p2 %patch12 +%patch13 %if 0%{?suse_version} <= 1130 # disable ecdsa for SLE 11 (not available) ++++++ no_logic_change.patch ++++++ --- cloudinit/config/cc_rightscale_userdata.py.orig +++ 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) --- cloudinit/util.py.orig +++ cloudinit/util.py @@ -1146,7 +1146,7 @@ def chownbyname(fname, user=None, group= # this returns the specific 'mode' entry, cleanly formatted, with value def get_output_cfg(cfg, mode): ret = [None, None] - if cfg or 'output' not in cfg: + if not cfg or 'output' not in cfg: return ret outcfg = cfg['output']
