diff options
author | Papoteur <papoteur@mageia.org> | 2019-09-10 14:03:31 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2019-09-10 14:03:31 +0200 |
commit | e793c44e4b713da678dd3ab5730a1de94562a387 (patch) | |
tree | 787caf3a03d13dc2c51cce2843ae39f99566519e /qml | |
parent | 04180883fc3c70c460b3e9c1582e7334618ecf02 (diff) | |
download | mageiawelcome-e793c44e4b713da678dd3ab5730a1de94562a387.tar mageiawelcome-e793c44e4b713da678dd3ab5730a1de94562a387.tar.gz mageiawelcome-e793c44e4b713da678dd3ab5730a1de94562a387.tar.bz2 mageiawelcome-e793c44e4b713da678dd3ab5730a1de94562a387.tar.xz mageiawelcome-e793c44e4b713da678dd3ab5730a1de94562a387.zip |
Fix warning about decode() called on unicode string
Diffstat (limited to 'qml')
-rw-r--r-- | qml/helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/helpers.py b/qml/helpers.py index f777f04..40d1ee8 100644 --- a/qml/helpers.py +++ b/qml/helpers.py @@ -34,7 +34,7 @@ def is_installed(name): mi = rpm.TransactionSet().dbMatch('name', name) release = "" for h in mi: - release = (h['release']).decode("utf-8") + release = (h['release']) if release.endswith("tainted"): repo = 'tainted' elif release.endswith("nonfree"): |