From 2b9514d93968c722683063badeec6e261b887914 Mon Sep 17 00:00:00 2001 From: jblum Date: Sat, 23 May 2009 23:36:08 +0000 Subject: removed .message usage which causes deprecation warning in python 2.6 git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11111 221aa14e-8319-0410-a670-987f0aec2ac5 --- grc/scripts/grc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grc') diff --git a/grc/scripts/grc b/grc/scripts/grc index 70c7ad1ad..efbcfd295 100755 --- a/grc/scripts/grc +++ b/grc/scripts/grc @@ -26,7 +26,7 @@ try: import gnuradio except ImportError, e: d = gtk.MessageDialog(type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_CLOSE, message_format=""" Cannot find module gnuradio. Is your PYTHONPATH set correctly?""") - d.set_title(e.message) + d.set_title(str(e)) d.run() exit(-1) -- cgit