remove cotinue

This commit is contained in:
Muzahid 2022-02-25 12:12:45 +05:30
parent 76f54b3f38
commit b0c434dcb6
Signed by: cis-muzahid
GPG Key ID: 1DC85E7D3AB613EA
1 changed files with 1 additions and 3 deletions

View File

@ -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]