#NEWLINE# def get_callback_url( self ) : #NEWLINE# #INDENT# if ( self . callback and self . verifier ) : #NEWLINE# #INDENT# parts = urlparse . urlparse ( self . callback ) #NEWLINE# ( scheme , netloc , path , params , query , fragment ) = parts [ : 6 ] #NEWLINE# if query : #NEWLINE# #INDENT# query = ( '%s&oauth_verifier=%s' % ( query , self . verifier ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# query = ( 'oauth_verifier=%s' % self . verifier ) #NEWLINE# #UNINDENT# return urlparse . urlunparse ( ( scheme , netloc , path , params , query , fragment ) ) #NEWLINE# #UNINDENT# return self . callback