#NEWLINE# def _get_cpu( self ) : #NEWLINE# #INDENT# '\n        Get available CPU information.\n        ' #NEWLINE# out = __salt__ [ 'cmd.run_all' ] ( 'lscpu' ) #NEWLINE# salt . utils . fsutils . _verify_run ( out ) #NEWLINE# data = dict ( ) #NEWLINE# for ( descr , value ) in [ elm . split ( ':' , 1 ) for elm in out [ 'stdout' ] . split ( os . linesep ) ] : #NEWLINE# #INDENT# data [ descr . strip ( ) ] = value . strip ( ) #NEWLINE# #UNINDENT# return data