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:
|
||||
res += line
|
||||
l = line.strip()
|
||||
if l.endswith("\\") or l.endswith("\\\n"):
|
||||
continue
|
||||
else:
|
||||
if not l.endswith("\\"):
|
||||
inside_allowed_command = False
|
||||
|
||||
return res + dockerfile_extra_contents[os_codename]
|
||||
|
|
Loading…
Reference in New Issue