remove cotinue
This commit is contained in:
parent
76f54b3f38
commit
b0c434dcb6
|
@ -85,9 +85,7 @@ def _get_dockerfile_contents(jobname, os_codename='bionic'):
|
||||||
if inside_allowed_command:
|
if inside_allowed_command:
|
||||||
res += line
|
res += line
|
||||||
l = line.strip()
|
l = line.strip()
|
||||||
if l.endswith("\\") or l.endswith("\\\n"):
|
if not l.endswith("\\"):
|
||||||
continue
|
|
||||||
else:
|
|
||||||
inside_allowed_command = False
|
inside_allowed_command = False
|
||||||
|
|
||||||
return res + dockerfile_extra_contents[os_codename]
|
return res + dockerfile_extra_contents[os_codename]
|
||||||
|
|
Loading…
Reference in New Issue