simple_lister: Extract common behavior in base class
This commit is contained in:
parent
61ce38a0b0
commit
04ca318680
5 changed files with 6 additions and 24 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue