The refactor of apport-gtk in the jammy queue includes this change:
- if not isinstance(text, bytes): - text = text.encode('UTF-8')
This code is not included in the refactored function. Why is it safe to drop this code?
The refactor of apport-gtk in the jammy queue includes this change:
- if not isinstance(text, bytes): 'UTF-8' )
- text = text.encode(
This code is not included in the refactored function. Why is it safe to drop this code?