From 2f57aea9188e7e6ca23b0c7cf3c57f334f6402b8 Mon Sep 17 00:00:00 2001 From: Jason Upchurch Date: Wed, 12 Aug 2020 17:13:15 -0400 Subject: [PATCH] Fix formatting in tasks.py --- tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 4aae1ce..82a6c16 100644 --- a/tasks.py +++ b/tasks.py @@ -63,6 +63,7 @@ def _detect_space(repo, branch=None, yes=False): ('dev', lambda _, branch: branch == 'develop'), ) + @task def deploy(ctx, space=None, branch=None, login=None, yes=False): """Deploy app to Cloud Foundry. @@ -79,7 +80,7 @@ def deploy(ctx, space=None, branch=None, login=None, yes=False): if space is None: return - # Set api + # Set api api = 'https://api.fr.cloud.gov' ctx.run('cf api {0}'.format(api), echo=True)