#NEWLINE# def execute( self , ns , devices = None ) : #NEWLINE# #INDENT# "\n        Implementation of 'partition-table show' command.\n        " #NEWLINE# if ( not devices ) : #NEWLINE# #INDENT# ret = partition . get_partition_tables ( ns ) #NEWLINE# devices = [ i [ 0 ] for i in ret ] #NEWLINE# #UNINDENT# for device in devices : #NEWLINE# #INDENT# device = str2device ( ns , device ) #NEWLINE# cmd = fcmd . NewTableCommand ( title = device . DeviceID ) #NEWLINE# ( yield self ) #NEWLINE# for line in show . partition_table_show ( ns , device , self . app . config . human_friendly ) : #NEWLINE# #INDENT# ( yield line )