summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]