Exemple #1
0
 def all_flags(self):
     """Return union of own and component flags."""
     flags = set(parse_flags(self.flags))
     flags.update(parse_flags(self.source_info.check_flags))
     flags.update(self.translation.component.all_flags)
     flags.discard('')
     return flags
Exemple #2
0
 def all_flags(self):
     """Return union of own and component flags."""
     flags = set(parse_flags(self.flags))
     flags.update(parse_flags(self.source_info.check_flags))
     flags.update(self.translation.component.all_flags)
     flags.discard('')
     return flags