simple_lister: Extract common behavior in base class

This commit is contained in:
Antoine R. Dumont (@ardumont) 2019-10-05 16:49:37 +02:00
parent 61ce38a0b0
commit 04ca318680
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8
5 changed files with 6 additions and 24 deletions

View file

@ -129,12 +129,6 @@ class GNULister(SimpleLister):
'origin_type': 'tar',
}
def transport_response_simplified(self, response):
"""Transform response to list for model manipulation
"""
return [self.get_model_from_repo(repo) for repo in response]
def find_tarballs(package_file_structure, url):
'''Recursively lists tarballs present in the folder and subfolders for a