Make manage-projects group regex less strict
We've started using Gerrit ACL files which look like INI format and
so we should no longer require whitespace at the start of option
lines.
Change-Id: I97369667d7bb75c864448d9dc023bde55e9d214d
diff --git a/jeepyb/cmd/manage_projects.py b/jeepyb/cmd/manage_projects.py
index 96090a1..7b541a9 100644
--- a/jeepyb/cmd/manage_projects.py
+++ b/jeepyb/cmd/manage_projects.py
@@ -225,7 +225,7 @@
group_file = os.path.join(repo_path, "groups")
uuids = {}
for line in open(acl_config, 'r'):
- r = re.match(r'^\s+.*group\s+(.*)$', line)
+ r = re.match(r'^.*\sgroup\s+(.*)$', line)
if r:
group = r.group(1)
if group in uuids.keys():