Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
cloud-init.2495
no_logic_change.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no_logic_change.patch of Package cloud-init.2495
--- 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']
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor