#NEWLINE# def retrieve_aliased_command( self , alias ) : #NEWLINE# #INDENT# '\n        Return the command intended to be executed by the given alias.\n        ' #NEWLINE# aliases = self . load_json ( file_cache_aliasesLookup ) #NEWLINE# if self . debug : #NEWLINE# #INDENT# print ( ( ( "Converting '" + str ( alias ) ) + "' into its aliased command" ) ) #NEWLINE# #UNINDENT# for item in aliases : #NEWLINE# #INDENT# if ( aliases [ 0 ] == alias ) : #NEWLINE# #INDENT# return item [ 1 ] #NEWLINE# #UNINDENT# #UNINDENT# if self . debug : #NEWLINE# #INDENT# print ( 'No suitable candidate was found' )