mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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>
(cherry picked from commit cd957fae4c
)
Co-authored-by: Daniel Werner <srmlsrml@gmail.com>
This commit is contained in:
parent
5b15e4089a
commit
c934d9aeb5
2 changed files with 4 additions and 1 deletions
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():
|
||||
(desc, filename) = tempfile.mkstemp(prefix='ansible_svr4pkg', text=True)
|
||||
fullauto = '''
|
||||
fullauto = b'''
|
||||
mail=
|
||||
instance=unique
|
||||
partial=nocheck
|
||||
|
|
Loading…
Reference in a new issue