示例#1
0
 def _transformer(self, objs):
     current_versions = [
         obj.addon._current_version for obj in objs if obj.addon._current_version
     ]
     addons = [obj.addon for obj in objs]
     Version.transformer_promoted(current_versions)
     Version.transformer_license(current_versions)
     attach_tags(addons)
示例#2
0
 def _transformer(self, objs):
     Version.transformer_promoted([
         promo.addon._current_version for promo in objs
         if promo.addon._current_version
     ])