swh.lister.gnu: Add function to check for file extension.

Added a function which will derive the extension from filename
and check if the fie extension match the type of file that is to be
archived.
This commit is contained in:
Archit Agrawal 2019-06-08 22:53:43 +05:30 committed by Archit Agrawal
parent 709ba8a6e5
commit 7c6245e663
8 changed files with 248 additions and 357 deletions

View file

@ -13,10 +13,10 @@ following Python modules:
- `swh.lister.debian`
- `swh.lister.github`
- `swh.lister.gitlab`
- `swh.lister.gnu`
- `swh.lister.pypi`
- `swh.lister.npm`
- `swh.lister.phabricator`
- `swh.lister.gnu`
Dependencies
------------