mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Updated arguments
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
7e58adb490
commit
3ab06176ca
2 changed files with 3 additions and 3 deletions
|
@ -70,11 +70,11 @@ class Utils:
|
||||||
if line.startswith("PACKAGE NAME:"):
|
if line.startswith("PACKAGE NAME:"):
|
||||||
yield split_package(line[14:].strip())[0]
|
yield split_package(line[14:].strip())[0]
|
||||||
|
|
||||||
def check_downloaded(self, path, maybe_downloaded):
|
def check_downloaded(self, path, downloaded):
|
||||||
"""Check if files downloaded and return downloaded
|
"""Check if files downloaded and return downloaded
|
||||||
packages
|
packages
|
||||||
"""
|
"""
|
||||||
for pkg in maybe_downloaded:
|
for pkg in downloaded:
|
||||||
if os.path.isfile(f"{path}{pkg}"):
|
if os.path.isfile(f"{path}{pkg}"):
|
||||||
yield pkg
|
yield pkg
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue