File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ setup-venv:
1616test : test-style test-functional
1717
1818test-style :
19- cd rootfs && flake8 --show-pep8 --show- source --config=setup.cfg .
19+ cd rootfs && flake8 --show-source --config=setup.cfg .
2020
2121test-functional :
2222 @echo " Implement functional tests in _tests directory"
Original file line number Diff line number Diff 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
6465def download_file (tar_path ):
@@ -80,6 +81,7 @@ def download_file(tar_path):
8081 ]
8182 subprocess .check_call (command )
8283
84+
8385tar_path = os .getenv ('TAR_PATH' )
8486if tar_path :
8587 if os .path .exists ("/var/run/secrets/deis/objectstore/creds/" ):
Original file line number Diff line number Diff line change 1- flake8==2.5.4
2-
1+ flake8==3.2.1
You can’t perform that action at this time.
0 commit comments