mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
* Fix #2373 * Changelog fragment for #2373 * Update changelogs/fragments/2373-svr4pkg-fix-typeerror.yml Co-authored-by: Amin Vakil <info@aminvakil.com> * Update changelogs/fragments/2373-svr4pkg-fix-typeerror.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Amin Vakil <info@aminvakil.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
3
changelogs/fragments/2373-svr4pkg-fix-typeerror.yml
Normal file
3
changelogs/fragments/2373-svr4pkg-fix-typeerror.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
bugfixes:
|
||||||
|
- svr4pkg - convert string to a bytes-like object to avoid ``TypeError`` with Python 3 (https://github.com/ansible-collections/community.general/issues/2373).
|
||||||
@@ -121,7 +121,7 @@ def package_installed(module, name, category):
|
|||||||
|
|
||||||
def create_admin_file():
|
def create_admin_file():
|
||||||
(desc, filename) = tempfile.mkstemp(prefix='ansible_svr4pkg', text=True)
|
(desc, filename) = tempfile.mkstemp(prefix='ansible_svr4pkg', text=True)
|
||||||
fullauto = '''
|
fullauto = b'''
|
||||||
mail=
|
mail=
|
||||||
instance=unique
|
instance=unique
|
||||||
partial=nocheck
|
partial=nocheck
|
||||||
|
|||||||
Reference in New Issue
Block a user