Make query parameter optional for get_pkgfiles()
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user