Change package file type parsing for files passed through cmdline

This commit is contained in:
Eric Torres 2019-03-25 21:56:08 -07:00
parent 019cf2ecb1
commit a5a384cd20

View File

@ -97,8 +97,8 @@ if __name__ == "__main__":
stdout_handler.setLevel(logging.DEBUG)
if args.packages:
pkg_tarballs = args.packages
sigfiles = []
pkg_tarballs = pkgfiles.filter(args.packages)
sigfiles = pkgfiles.filter(args.packages, signatures_only=True)
else:
pkg_tarballs = list(pkgfiles.get())
sigfiles = list(pkgfiles.get(signatures_only=True))