[Reportbug-commits] [reportbug] 26/31: gtk2_ui: fix unbound local variable in GetMultilinePage

Sandro Tosi morph at moszumanska.debian.org
Mon Jan 16 01:36:58 UTC 2017


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

morph pushed a commit to branch master
in repository reportbug.

commit d472cfb36d951f3fd8cd763188c72be1b4ee31aa
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Jan 15 00:35:21 2017 +0000

    gtk2_ui: fix unbound local variable in GetMultilinePage
---
 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 4a335bb..ac43157 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -790,7 +790,7 @@ class GetMultilinePage(Page):
         vbox.pack_start(self.label, False, True, 0)
 
         self.view = Gtk.TextView()
-        self.buffer = view.get_buffer()
+        self.buffer = self.view.get_buffer()
         scrolled = create_scrollable(self.view)
         vbox.pack_start(scrolled, True, True, 0)
         return vbox

-- 
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