* 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>pull/2417/head
parent
c0221b75af
commit
cd957fae4c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue