()
| 560 | |
| 561 | |
| 562 | def commit(): |
| 563 | with sd_lock: |
| 564 | try: |
| 565 | saveddata_session.commit() |
| 566 | except (KeyboardInterrupt, SystemExit): |
| 567 | raise |
| 568 | except Exception: |
| 569 | saveddata_session.rollback() |
| 570 | exc_info = sys.exc_info() |
| 571 | raise exc_info[0](exc_info[1]).with_traceback(exc_info[2]) |
| 572 | |
| 573 | |
| 574 | def flush(): |
no outgoing calls
no test coverage detected