Replace deprecated error with BadZipFile (#6180)

* Replace deprecated error with BadZipFile

* Use imported BadZipFile

Co-authored-by: Felix Fontein <felix@fontein.de>

* Add news fragment

* Update new fragment

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Hugo van Kemenade
2023-03-22 08:39:18 +02:00
committed by GitHub
parent 3fb1ff0b72
commit f66cc7c933
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "archive - avoid deprecated exception class on Python 3 (https://github.com/ansible-collections/community.general/pull/6180)."