#NEWLINE# def commit_manually( using = None ) : #NEWLINE# #INDENT# "\n    Decorator that activates manual transaction control. It just disables\n    automatic transaction control and doesn't do any commit/rollback of its\n    own -- it's up to the user to call the commit and rollback functions\n    themselves.\n    " #NEWLINE# warnings . warn ( 'commit_manually is deprecated in favor of set_autocommit.' , PendingDeprecationWarning , stacklevel = 2 ) #NEWLINE# def entering( using ) : #NEWLINE# #INDENT# enter_transaction_management ( using = using ) #NEWLINE# #UNINDENT# def exiting( exc_type , using ) : #NEWLINE# #INDENT# leave_transaction_management ( using = using ) #NEWLINE# #UNINDENT# return _transaction_func ( entering , exiting , using )