summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-06-24 08:00:18 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-06-24 08:01:03 +0800
commit703280b8c3df6f9b1a5cbe0997b717edbcaa8979 (patch)
treeb5748241ef309c927269c27efcfad076cc64275d /git
parent091ac2960fe30fa5477fcb5bae203eb317090b3f (diff)
downloadgitpython-703280b8c3df6f9b1a5cbe0997b717edbcaa8979.tar.gz
remove duplication
Diffstat (limited to 'git')
-rw-r--r--git/objects/submodule/base.py2
1 files changed, 1 insertions, 1 deletions
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]