diff options
author | Erik Johnston <erik@matrix.org> | 2014-11-10 13:46:44 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-11-10 13:46:44 +0000 |
commit | 5d439b127ba34b951dfd09a7d3c684c2d50df702 (patch) | |
tree | e12a03f22cb0c6b5ca6b0d72f863b288b6a11612 /synapse/federation/units.py | |
parent | Remove useless comments (diff) | |
download | synapse-5d439b127ba34b951dfd09a7d3c684c2d50df702.tar.xz |
PEP8
Diffstat (limited to 'synapse/federation/units.py')
-rw-r--r-- | synapse/federation/units.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/synapse/federation/units.py b/synapse/federation/units.py index d98014cac7..f4e7b62bd9 100644 --- a/synapse/federation/units.py +++ b/synapse/federation/units.py @@ -192,7 +192,9 @@ class Transaction(JsonEncodedObject): transaction_id and origin_server_ts keys. """ if "origin_server_ts" not in kwargs: - raise KeyError("Require 'origin_server_ts' to construct a Transaction") + raise KeyError( + "Require 'origin_server_ts' to construct a Transaction" + ) if "transaction_id" not in kwargs: raise KeyError( "Require 'transaction_id' to construct a Transaction" @@ -204,6 +206,3 @@ class Transaction(JsonEncodedObject): kwargs["pdus"] = [p.get_dict() for p in pdus] return Transaction(**kwargs) - - - |