Skip to content

Commit 7bb769f

Browse files
committed
ref(deploy.py): placate new flake8 linter checks
1 parent 463b537 commit 7bb769f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rootfs/deploy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def get_registry_name():
5858
elif registryLocation == "gcr":
5959
return hostname + "/" + os.getenv('DEIS_REGISTRY_GCS_PROJ_ID')
6060
else:
61-
return os.getenv("DEIS_REGISTRY_SERVICE_HOST") + ":" + os.getenv("DEIS_REGISTRY_SERVICE_PORT") # noqa: E501
61+
return "{}:{}".format(os.getenv("DEIS_REGISTRY_SERVICE_HOST"),
62+
os.getenv("DEIS_REGISTRY_SERVICE_PORT"))
6263

6364

6465
def download_file(tar_path):
@@ -80,6 +81,7 @@ def download_file(tar_path):
8081
]
8182
subprocess.check_call(command)
8283

84+
8385
tar_path = os.getenv('TAR_PATH')
8486
if tar_path:
8587
if os.path.exists("/var/run/secrets/deis/objectstore/creds/"):

0 commit comments

Comments
 (0)