From c5d615630254b7ceb8f2f05e5f73c6dddf21b317 Mon Sep 17 00:00:00 2001 From: clime Date: Jul 27 2018 17:27:30 +0000 Subject: [frontend] return None from trim_git_url --- diff --git a/frontend/coprs_frontend/coprs/helpers.py b/frontend/coprs_frontend/coprs/helpers.py index 72304ce..be2553f 100644 --- a/frontend/coprs_frontend/coprs/helpers.py +++ b/frontend/coprs_frontend/coprs/helpers.py @@ -657,7 +657,7 @@ def generate_additional_repos(copr_chroot): def trim_git_url(url): if not url: - return False + return None return re.sub(r'(\.git)?/*$', '', url)