From bb60609fa2956f9f9764aee43ce53319e905988d Mon Sep 17 00:00:00 2001 From: Vivek Anand Date: Mar 08 2017 23:06:37 +0000 Subject: Return project name after checking if the repo exists or not Signed-off-by: Vivek Anand --- diff --git a/pagure_importer/utils/__init__.py b/pagure_importer/utils/__init__.py index 4ea0c8b..8ea6db6 100644 --- a/pagure_importer/utils/__init__.py +++ b/pagure_importer/utils/__init__.py @@ -311,3 +311,4 @@ def validate_gh_project(ctx, param, value): except UnknownObjectException: click.echo("Repo doesn't exist or is private") ctx.exit() + return value