#NEWLINE# def ensure_asyncio( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# import asyncio #NEWLINE# #UNINDENT# except ImportError : #NEWLINE# #INDENT# ( file , pathname , description ) = imp . find_module ( 'trollius' ) #NEWLINE# try : #NEWLINE# #INDENT# asyncio = imp . load_module ( 'asyncio' , file , pathname , description ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# if ( file is not None ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# file . close ( ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# sys . modules [ 'asyncio' ] = asyncio