diff --git a/pagure/lib/git.py b/pagure/lib/git.py index 8b0601b..65f7aa3 100644 --- a/pagure/lib/git.py +++ b/pagure/lib/git.py @@ -1303,7 +1303,7 @@ def get_repo_info_from_path(gitdir, hide_notfound=False): matchlen = len(path) if match is None: - raise ValueError("Gitdir %s could not be located") + raise ValueError("Gitdir %s could not be located" % gitdir) typepath = types[match] guesspath = gitdir[len(typepath) + 1 :]