diff options
author | Erik Johnston <erik@matrix.org> | 2015-03-20 13:52:56 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-03-20 13:52:56 +0000 |
commit | cb8162d3d17a97574073d49bd6eef51c93b68157 (patch) | |
tree | c21af0524f31ce8ae069b0cd74c56ed27ed38868 /synapse/storage/_base.py | |
parent | Generate transaction id in code (diff) | |
download | synapse-cb8162d3d17a97574073d49bd6eef51c93b68157.tar.xz |
Rearrange storage modules
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 24ff872dad..37bb28e6cf 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -791,6 +791,13 @@ class SQLBaseStore(object): return result[0] if result else None +class _RollbackButIsFineException(Exception): + """ This exception is used to rollback a transaction without implying + something went wrong. + """ + pass + + class Table(object): """ A base class used to store information about a particular table. """ |