summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Fan <root@max.fan>2021-06-23 14:21:39 -0400
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-06-24 08:01:03 +0800
commit091ac2960fe30fa5477fcb5bae203eb317090b3f (patch)
tree2c4c35a196741ae82afcc1188010b9495fc8003e
parent8bbf6520460dc4d2bfd7943cda666436f860cf71 (diff)
downloadgitpython-091ac2960fe30fa5477fcb5bae203eb317090b3f.tar.gz
Add missing article to error message
-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 49d6aae1..cac9618d 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 existing repository did not exist at %s" % path)
+ raise ValueError("A URL was not given and an existing repository did not exist at %s" % path)
# END check url
mrepo = sm.module()
urls = [r.url for r in mrepo.remotes]