#NEWLINE# def _init_once( ) : #NEWLINE# #INDENT# '\n    Utility function that is ran once on Library import.\n\n    This checks for the LIBCLOUD_DEBUG environment variable, which if it exists\n    is where we will log debug information about the provider transports.\n    ' #NEWLINE# path = os . getenv ( 'LIBCLOUD_DEBUG' ) #NEWLINE# if path : #NEWLINE# #INDENT# mode = 'a' #NEWLINE# from libcloud.utils.py3 import PY3 #NEWLINE# if ( ( path in [ '/dev/stderr' , '/dev/stdout' ] ) and PY3 ) : #NEWLINE# #INDENT# mode = 'w' #NEWLINE# #UNINDENT# fo = codecs . open ( path , mode , encoding = 'utf8' ) #NEWLINE# enable_debug ( fo ) #NEWLINE# if have_paramiko : #NEWLINE# #INDENT# paramiko . common . logging . basicConfig ( level = paramiko . common . DEBUG )