Skip to content

Fix two Python 3 incompatibilities in the zypper module#1758

Merged
vpodzime merged 1 commit intocfengine:masterfrom
vpodzime:master-zypper_python3
May 15, 2020
Merged

Fix two Python 3 incompatibilities in the zypper module#1758
vpodzime merged 1 commit intocfengine:masterfrom
vpodzime:master-zypper_python3

Conversation

@vpodzime
Copy link
Copy Markdown
Contributor

process.stdout is of type 'bytes' in Python 3 and needs to be
decoded to get a 'string' object.

Ticket: CFE-3364
Changelog: The zypper module is now fully compatible with Python 3

@vpodzime vpodzime requested a review from olehermanse May 12, 2020 09:56
Copy link
Copy Markdown
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@vpodzime vpodzime force-pushed the master-zypper_python3 branch from 513d0d8 to 2c13d73 Compare May 12, 2020 10:26
process.stdout is of type 'bytes' in Python 3 and needs to be
decoded to get a 'string' object.

Ticket: CFE-3364
Changelog: The zypper module is now fully compatible with Python 3
@vpodzime vpodzime force-pushed the master-zypper_python3 branch from 2c13d73 to ba32c3e Compare May 12, 2020 10:30
@vpodzime vpodzime requested a review from olehermanse May 12, 2020 10:30
@vpodzime vpodzime merged commit b0b3b4e into cfengine:master May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants