Change package file type parsing for files passed through cmdline
This commit is contained in:
parent
019cf2ecb1
commit
a5a384cd20
@ -97,8 +97,8 @@ if __name__ == "__main__":
|
|||||||
stdout_handler.setLevel(logging.DEBUG)
|
stdout_handler.setLevel(logging.DEBUG)
|
||||||
|
|
||||||
if args.packages:
|
if args.packages:
|
||||||
pkg_tarballs = args.packages
|
pkg_tarballs = pkgfiles.filter(args.packages)
|
||||||
sigfiles = []
|
sigfiles = pkgfiles.filter(args.packages, signatures_only=True)
|
||||||
else:
|
else:
|
||||||
pkg_tarballs = list(pkgfiles.get())
|
pkg_tarballs = list(pkgfiles.get())
|
||||||
sigfiles = list(pkgfiles.get(signatures_only=True))
|
sigfiles = list(pkgfiles.get(signatures_only=True))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user