Change default query to '' in get_pkgfiles()

This commit is contained in:
Eric Torres 2019-01-28 21:43:08 -08:00
parent 89e9673132
commit 62a80b5dbf

View File

@ -7,7 +7,7 @@ PKGEXT = 'pkg.tar.xz'
SIGEXT = f"{PKGEXT}.sig"
# ========== Functions ==========
def get_pkgfiles(query=None, directory=None, signatures_only=False):
def get_pkgfiles(query='', 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