From: jblum Date: Sat, 23 May 2009 23:36:08 +0000 (+0000) Subject: removed .message usage which causes deprecation warning in python 2.6 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=2b9514d93968c722683063badeec6e261b887914;p=debian%2Fgnuradio 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 --- diff --git a/grc/scripts/grc b/grc/scripts/grc index 70c7ad1a..efbcfd29 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)