Handle DistNoTarball.

This commit is contained in:
Jelmer Vernooij 2021-03-24 04:55:40 +00:00
parent 95b9ce3990
commit 47dda67229
No known key found for this signature in database
GPG key ID: 579C160D4C9E23E8

View file

@ -272,6 +272,8 @@ if __name__ == "__main__":
logging.fatal('Unidentified error: %r', e.lines)
except DetailedFailure as e:
logging.fatal('Identified error during dist creation: %s', e.error)
except DistNoTarball:
logging.fatal('dist operation did not create a tarball')
else:
logging.info("Created %s", ret)
sys.exit(0)