From 62a80b5dbfbd8cf23e53ae0c62511820634819f1 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Mon, 28 Jan 2019 21:43:08 -0800 Subject: [PATCH] Change default query to '' in get_pkgfiles() --- packaging_scripts/pkgfiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging_scripts/pkgfiles.py b/packaging_scripts/pkgfiles.py index 7c247fe..bc101ec 100644 --- a/packaging_scripts/pkgfiles.py +++ b/packaging_scripts/pkgfiles.py @@ -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