vcs: better handling of invalid email addresses: don't consider them email addresses 13da89053853 was in principle right in always returning email adresses ...
kiilerix committed on 2016-02-15 18:29:26
branch: default tag: tip changeset: 1fd82c81 vcs: better handling of invalid email addresses: don't consider them email addresses 13da89053853 was in principle right in always returning email adresses as string ... but unfortunately the function also returned invalid email addresses that didn't fit into strings. To fix this, the function is refactored to always use regexp matching of valid email addresses ... and to be simpler. The behaviour should be the same as before for all valid email addresses. M kallithea/lib/vcs/utils/__init__.py (20 lines added, 16 lines removed) M kallithea/tests/vcs/test_git.py (2 lines added, 2 lines removed) M kallithea/tests/vcs/test_utils.py (1 lines added, 1 lines removed) |
_______________________________________________ kallithea-general mailing list kallithea-general@sfconservancy.org http://lists.sfconservancy.org/mailman/listinfo/kallithea-general