summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xproject.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/project.py b/project.py
index 77a4f571..274241e1 100755
--- a/project.py
+++ b/project.py
@@ -1807,8 +1807,8 @@ class Project(object):
1807 submodules.append((sub_rev, sub_path, sub_url)) 1807 submodules.append((sub_rev, sub_path, sub_url))
1808 return submodules 1808 return submodules
1809 1809
1810 re_path = re.compile(r'^submodule\.([^.]+)\.path=(.*)$') 1810 re_path = re.compile(r'^submodule\.(.+)\.path=(.*)$')
1811 re_url = re.compile(r'^submodule\.([^.]+)\.url=(.*)$') 1811 re_url = re.compile(r'^submodule\.(.+)\.url=(.*)$')
1812 1812
1813 def parse_gitmodules(gitdir, rev): 1813 def parse_gitmodules(gitdir, rev):
1814 cmd = ['cat-file', 'blob', '%s:.gitmodules' % rev] 1814 cmd = ['cat-file', 'blob', '%s:.gitmodules' % rev]