Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-09-19 | Use six.moves.filter when filtering out from MXID | Brendan Abolivier | 1 | -1/+3 | |
Python 2's filter() function and Python 3's don't return the same type when processing a string (respectively str and filter), therefore use six's compatibility mapping (which resolves to itertools.ifilter() if using Python2), then generate a string from the filtered list, in order to ensure consistent behaviour between Python 2 and Python 3. | |||||
2019-09-19 | Add unit tests for strip_invalid_mxid_characters | Brendan Abolivier | 1 | -1/+21 |