Make query parameter optional for get_pkgfiles()
This commit is contained in:
parent
5804b1c814
commit
12cf5906a0
@ -7,7 +7,7 @@ PKGEXT = 'pkg.tar.xz'
|
||||
SIGEXT = f"{PKGEXT}.sig"
|
||||
|
||||
# ========== Functions ==========
|
||||
def get_pkgfiles(query, directory=None, signatures_only=False):
|
||||
def get_pkgfiles(query=None, directory=None, signatures_only=False):
|
||||
"""Return a list of package files in the current working directory.
|
||||
|
||||
:param query: names of package files to search for
|
||||
|
Loading…
x
Reference in New Issue
Block a user