[Skip-CI] Fix method override

This commit is contained in:
erik 2023-04-28 15:33:06 +02:00
parent 172d0b848f
commit 9e519519cb

View file

@ -10,7 +10,6 @@ class Image(Validateable):
dockerhub_user,
dockerhub_password,
devops: Devops,
build_dir_name="target",
use_package_common_files=True,
build_commons_path=None,
docker_build_commons_dir_name="docker",
@ -25,5 +24,5 @@ class Image(Validateable):
self.devops = devops
def docker_build_commons_path(self):
list = [self.build_commons_path, self.docker_build_commons_dir_name]
return "/".join(filter_none(list)) + "/"
commons_path = [self.build_commons_path, self.docker_build_commons_dir_name]
return "/".join(filter_none(commons_path)) + "/"