#NEWLINE# def commit( self , cont , isolation_level = 0 ) : #NEWLINE# #INDENT# self . submit_commit ( cont , isolation_level = isolation_level ) #NEWLINE# prev_timeout = self . _tds . _sock . gettimeout ( ) #NEWLINE# self . _tds . _sock . settimeout ( None ) #NEWLINE# try : #NEWLINE# #INDENT# self . process_simple_request ( ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# self . _tds . _sock . settimeout ( prev_timeout )