From 703280b8c3df6f9b1a5cbe0997b717edbcaa8979 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 24 Jun 2021 08:00:18 +0800 Subject: remove duplication --- git/objects/submodule/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/objects') diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index cac9618d..8cf4dd1e 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -390,7 +390,7 @@ class Submodule(IndexObject, Iterable, Traversable): mrepo = None if url is None: if not has_module: - raise ValueError("A URL was not given and an existing repository did not exist at %s" % path) + raise ValueError("A URL was not given and a repository did not exist at %s" % path) # END check url mrepo = sm.module() urls = [r.url for r in mrepo.remotes] -- cgit v1.2.1