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
..
2018-04-10 23:14:47 +01:00
2017-11-29 16:00:46 +00:00
2018-04-06 16:02:06 +01:00
2018-04-12 11:19:04 +01:00
2018-02-21 11:29:49 +00:00
2018-04-10 23:14:47 +01:00
2018-04-12 12:07:09 +01:00
2018-04-13 12:08:19 +01:00