#NEWLINE# def run( self ) : #NEWLINE# #INDENT# fmt = ',' . join ( [ ( '%%{%s}' % tag ) for tag in self . rpm_tags ] ) #NEWLINE# container_id = self . tasker . run ( self . image_id , command = "-qa --qf '{0}\n'" . format ( fmt ) , create_kwargs = { #NEWLINE# #INDENT# 'entrypoint' : '/bin/rpm' , #NEWLINE# #UNINDENT# } , start_kwargs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . tasker . wait ( container_id ) #NEWLINE# plugin_output = self . tasker . logs ( container_id , stream = False ) #NEWLINE# if self . ignore_autogenerated_gpg_keys : #NEWLINE# #INDENT# self . log . debug ( "ignore rpms 'gpg-pubkey'" ) #NEWLINE# plugin_output = [ x for x in plugin_output if ( not x . startswith ( 'gpg-pubkey,' ) ) ] #NEWLINE# #UNINDENT# self . tasker . remove_container ( container_id ) #NEWLINE# return plugin_output