#NEWLINE# def _sort_request( self , args ) : #NEWLINE# #INDENT# keys = sorted ( args . keys ( ) ) #NEWLINE# for key in keys : #NEWLINE# #INDENT# self . sig_params . append ( ( ( key . lower ( ) + '=' ) + urllib . quote_plus ( args [ key ] ) . lower ( ) . replace ( '+' , '%20' ) ) ) #NEWLINE# self . params . append ( ( ( key + '=' ) + urllib . quote_plus ( args [ key ] ) ) )