#NEWLINE# def _listdir( self , path ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return os . listdir ( self ) #NEWLINE# #UNINDENT# except OSError as e : #NEWLINE# #INDENT# self . logger . error ( ( _ ( 'ERROR:  Failed to get paths to drive partitions: %s' ) % e ) ) #NEWLINE# return [ ]