#NEWLINE# def load_server_key( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# key_path = settings . PQAUTH_SERVER_KEY #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# msg = 'You must set settings.PQUATH_SERVER_KEY' #NEWLINE# raise ImproperlyConfigured ( key_password ) #NEWLINE# #UNINDENT# key_password = None #NEWLINE# try : #NEWLINE# #INDENT# key_password = settings . PQAUTH_SERVER_KEY_PASSWORD #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# return load_key_file ( key_path , key_password )