Remove most manual Person() parsing in favor of Person.from_fullname
This increases overall consistency and makes us compatible with the latest version of swh.storage, which does Person.from_fullname() parsing on output if name and email are None.
Showing
- swh/loader/package/debian/loader.py 2 additions, 15 deletionsswh/loader/package/debian/loader.py
- swh/loader/package/npm/loader.py 1 addition, 1 deletionswh/loader/package/npm/loader.py
- swh/loader/package/npm/tests/test_npm.py 2 additions, 2 deletionsswh/loader/package/npm/tests/test_npm.py
- swh/loader/package/opam/loader.py 2 additions, 2 deletionsswh/loader/package/opam/loader.py
- swh/loader/package/opam/tests/test_opam.py 3 additions, 9 deletionsswh/loader/package/opam/tests/test_opam.py
- swh/loader/package/utils.py 1 addition, 1 deletionswh/loader/package/utils.py
Loading
Please register or sign in to comment