sbsv2/raptor/python/raptor_data.py
branchfix
changeset 372 e6d6373c0c3a
parent 371 2db10eac415a
child 374 96629a6f26e4
equal deleted inserted replaced
298:15d964981d94 372:e6d6373c0c3a
  1024 		s += "</group>"
  1024 		s += "</group>"
  1025 		return s
  1025 		return s
  1026 
  1026 
  1027 	def GenerateBuildUnits(self, cache):
  1027 	def GenerateBuildUnits(self, cache):
  1028 		units = []
  1028 		units = []
  1029 
  1029 		
  1030 		missing_variants = []
  1030 		missing_variants = []
  1031 		for r in self.childRefs:
  1031 		for r in self.childRefs:
  1032 			refMods = r.GetModifiers(cache)
  1032 			refMods = r.GetModifiers(cache)
  1033 
  1033 
  1034 			try:
  1034 			try:
  1053 
  1053 
  1054 	def __init__(self, ref=None):
  1054 	def __init__(self, ref=None):
  1055 		Reference.__init__(self, ref)
  1055 		Reference.__init__(self, ref)
  1056 
  1056 
  1057 	def __str__(self):
  1057 	def __str__(self):
  1058 		return "<%s /><groupRef ref='%s' mod='%s'/>" % (prefix, self.ref, ".".join(self.modifiers))
  1058 		return "<groupRef ref='%s' mod='%s'/>" % (self.ref, ".".join(self.modifiers))
  1059 
  1059 
  1060 	def Resolve(self, cache):
  1060 	def Resolve(self, cache):
  1061 		try:
  1061 		try:
  1062 			return cache.FindNamedGroup(self.ref)
  1062 			return cache.FindNamedGroup(self.ref)
  1063 		except KeyError:
  1063 		except KeyError: