Merge "Make retired acl check less greedy"
diff --git a/jeepyb/cmd/create_cgitrepos.py b/jeepyb/cmd/create_cgitrepos.py
index 35a65e4..9d85b7d 100644
--- a/jeepyb/cmd/create_cgitrepos.py
+++ b/jeepyb/cmd/create_cgitrepos.py
@@ -61,7 +61,7 @@
                                    'DEFAULT_ORG is set.' % project)
             (org, name) = (DEFAULT_ORG, project)
         description = entry.get('description', name)
-        retired = entry.get('acl-config', '').endswith('retired.config')
+        retired = entry.get('acl-config', '').endswith('/retired.config')
         assert project not in names
         names.add(project)
         gitorgs.setdefault(org, []).append((name, description, retired))
diff --git a/jeepyb/cmd/create_hound_config.py b/jeepyb/cmd/create_hound_config.py
index 9739e44..e624d09 100644
--- a/jeepyb/cmd/create_hound_config.py
+++ b/jeepyb/cmd/create_hound_config.py
@@ -31,7 +31,7 @@
 def main():
     registry = u.ProjectsRegistry(PROJECTS_YAML)
     projects = [entry['project'] for entry in registry.configs_list
-                if not entry.get('acl-config', '').endswith('retired.config')]
+                if not entry.get('acl-config', '').endswith('/retired.config')]
     repos = {}
     for project in projects:
         # Ignore attic and stackforge, those are repos that are not