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)
|
||||
|
||||
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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user