#NEWLINE# def unlock_wallet( self , timeout = 120 ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# info = self . obj . walletpassphrase ( self . passphrase , timeout ) #NEWLINE# if ( info is None ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# return False