You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the beginning of the plugin should be from __future__ import unicode_literals. This will break the other things though and needs to be fixed on more places.
see https://bugzilla.redhat.com/show_bug.cgi?id=1262082 which failed due to non unicoded characters in system-upgrade command.
We have fixed this in DNF (rpm-software-management/dnf@9e8638d) but the common practice is to use Unicode everywhere and convert bytestring to Unicode as soon as possible.
The text was updated successfully, but these errors were encountered:
Do like the rest of DNF does: 'from __future__ import unicode_literals'.
This makes all literal strings unicode objects in Python 2.x, which is a
little strange but that's what the rest of DNF expects.
Plugins that fail to do so can cause problems in DNF; see rhbz#1262082.
This should resolve#17.
(cherry picked from commit 58a623c)
At the beginning of the plugin should be
from __future__ import unicode_literals
. This will break the other things though and needs to be fixed on more places.see https://bugzilla.redhat.com/show_bug.cgi?id=1262082 which failed due to non unicoded characters in system-upgrade command.
We have fixed this in DNF (rpm-software-management/dnf@9e8638d) but the common practice is to use Unicode everywhere and convert bytestring to Unicode as soon as possible.
The text was updated successfully, but these errors were encountered: