If dist is not supported, fall back to exporting.

This commit is contained in:
Jelmer Vernooij 2021-03-19 21:59:25 +00:00
parent 6bb2b0a847
commit 2aaf74a384
No known key found for this signature in database
GPG key ID: 579C160D4C9E23E8

View file

@ -219,7 +219,7 @@ if __name__ == "__main__":
packaging_tree=packaging_tree, packaging_tree=packaging_tree,
chroot=args.chroot, chroot=args.chroot,
) )
except NoBuildToolsFound: except (NoBuildToolsFound, NotImplementedError):
logging.info("No build tools found, falling back to simple export.") logging.info("No build tools found, falling back to simple export.")
export(tree, "dist.tar.gz", "tgz", None) export(tree, "dist.tar.gz", "tgz", None)
else: else: