- Fix it again, duh

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=132
This commit is contained in:
Robert Schweikert 2019-01-23 13:40:34 +00:00 committed by Git OBS Bridge
parent 99ef69f82c
commit c53e82e288

View File

@ -5,7 +5,7 @@
for searchdomain in network_state.dns_searchdomains:
content.add_search_domain(searchdomain)
+ if not str(content):
+ return content
+ return str(content)
header = _make_header(';')
content_str = str(content)
if not content_str.startswith(header):