#NEWLINE# def check_futures( futures ) : #NEWLINE# #INDENT# for f in futures : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# f . await ( ) #NEWLINE# #UNINDENT# except api . InvalidAPIKey as invalid : #NEWLINE# #INDENT# click_exception ( invalid ) #NEWLINE# #UNINDENT# except api . APIException as other : #NEWLINE# #INDENT# click . echo ( ( 'WARNING %s' % other . message ) ) #NEWLINE# #UNINDENT# except api . RequestCancelled : #NEWLINE# #INDENT# pass