[Reportbug-commits] [reportbug] 06/22: gtk2_ui: use string values for string-valued columns

Sandro Tosi morph at moszumanska.debian.org
Thu Dec 15 00:43:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit d92a828b21e997fb2727fa29d0bf8bc1045b20f8
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Dec 14 15:04:18 2016 +0000

    gtk2_ui: use string values for string-valued columns
    
    PyGI has less "do what I mean" than PyGTK did.
---
 reportbug/ui/gtk2_ui.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 1673c79..1c951f1 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -1056,7 +1056,7 @@ class HandleBTSQueryPage(TreePage):
             row[3] = category[0]
             iter = self.model.append(None, row)
             for bug in category[1]:
-                self.model.append(iter, list(bug))
+                self.model.append(iter, list(map(str, bug)))
 
         self.selection.set_mode(gtk.SELECTION_MULTIPLE)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list