#NEWLINE# def ec2_manager( request ) : #NEWLINE# #INDENT# client = keystoneclient ( request ) #NEWLINE# if hasattr ( client , 'ec2' ) : #NEWLINE# #INDENT# return client . ec2 #NEWLINE# #UNINDENT# from keystoneclient.v2_0 import ec2 #NEWLINE# return ec2 . CredentialsManager ( client )