Explorar o código

Allow projects with groups=None

Mirror manifest and repo projects are outside the manifest and
have no groups.  Allow project groups to be None for these
projects.

Change-Id: I3e1c4add894fe1c43aa4e77a1fc1558aa10dd191
Colin Cross %!s(int64=13) %!d(string=hai) anos
pai
achega
ed252c3d49
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      project.py

+ 2 - 0
project.py

@@ -666,6 +666,8 @@ class Project(object):
        manifest_groups: "-group1,group2"
        the project will be matched.
     """
+    if self.groups is None:
+      return True
     matched = False
     for group in manifest_groups:
       if group.startswith('-') and group[1:] in self.groups: