Mageia Bugzilla – Attachment 6922 Details for
Bug 16524
Adapting msec to python 3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Suppression of a decode instruction
0001-suppress-a-decode-instruction.patch (text/plain), 832 bytes, created by
papoteur
on 2015-08-12 23:08:17 CEST
(
hide
)
Description:
Suppression of a decode instruction
Filename:
MIME Type:
Creator:
papoteur
Created:
2015-08-12 23:08:17 CEST
Size:
832 bytes
patch
obsolete
>From 65f19cd800d9db2335a4fb0f258e604be5dcbe3e Mon Sep 17 00:00:00 2001 >From: Papoteur <papoteur@mageialinux-online.org> >Date: Wed, 12 Aug 2015 23:05:06 +0200 >Subject: [PATCH] suppress a decode instruction > >--- > src/msec/msecgui.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py >index a7938f5..eacf588 100755 >--- a/src/msec/msecgui.py >+++ b/src/msec/msecgui.py >@@ -1623,7 +1623,7 @@ class MsecGui: > """Processes an option change""" > iter = model.get_iter(path) > param = model.get_value(iter, self.COLUMN_OPTION) >- descr = model.get_value(iter, self.COLUMN_DESCR).decode("utf-8") >+ descr = model.get_value(iter, self.COLUMN_DESCR) > value = model.get_value(iter, self.COLUMN_VALUE) > > # option is disabled? >-- >2.3.8 >
From 65f19cd800d9db2335a4fb0f258e604be5dcbe3e Mon Sep 17 00:00:00 2001 From: Papoteur <papoteur@mageialinux-online.org> Date: Wed, 12 Aug 2015 23:05:06 +0200 Subject: [PATCH] suppress a decode instruction --- src/msec/msecgui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py index a7938f5..eacf588 100755 --- a/src/msec/msecgui.py +++ b/src/msec/msecgui.py @@ -1623,7 +1623,7 @@ class MsecGui: """Processes an option change""" iter = model.get_iter(path) param = model.get_value(iter, self.COLUMN_OPTION) - descr = model.get_value(iter, self.COLUMN_DESCR).decode("utf-8") + descr = model.get_value(iter, self.COLUMN_DESCR) value = model.get_value(iter, self.COLUMN_VALUE) # option is disabled? -- 2.3.8
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16524
:
6881
|
6883
|
6884
|
6885
|
6886
|
6898
|
6899
|
6900
|
6901
|
6913
| 6922 |
6928