synapse-product/synapse/events
Adrian Tschira bfc2ade9b3 Make event properties raise AttributeError instead
They raised KeyError before. I'm changing this because the code uses
hasattr() to check for the presence of a key. This worked accidentally
before, because hasattr() silences all exceptions in python 2. However,
in python3, this isn't the case anymore.

I had a look around to see if anything depended on this raising a
KeyError and I couldn't find anything. Of course, I could have simply
missed it.

Signed-off-by: Adrian Tschira <nota@notafile.com>
2018-04-15 20:16:59 +02:00
..
__init__.py Make event properties raise AttributeError instead 2018-04-15 20:16:59 +02:00
builder.py Remove pointless create() method 2017-10-20 22:14:55 +01:00
snapshot.py Remove context.push_actions 2018-02-15 15:47:06 +00:00
spamcheck.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
utils.py Comment and remove spurious logging 2017-04-27 17:25:44 +01:00
validator.py copyrights 2016-01-07 04:26:29 +00:00