commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r11111 - gnuradio/trunk/grc/scripts


From: jblum
Subject: [Commit-gnuradio] r11111 - gnuradio/trunk/grc/scripts
Date: Sat, 23 May 2009 17:36:08 -0600 (MDT)

Author: jblum
Date: 2009-05-23 17:36:08 -0600 (Sat, 23 May 2009)
New Revision: 11111

Modified:
   gnuradio/trunk/grc/scripts/grc
Log:
removed .message usage which causes deprecation warning in python 2.6

Modified: gnuradio/trunk/grc/scripts/grc
===================================================================
--- gnuradio/trunk/grc/scripts/grc      2009-05-23 22:56:07 UTC (rev 11110)
+++ gnuradio/trunk/grc/scripts/grc      2009-05-23 23:36:08 UTC (rev 11111)
@@ -26,7 +26,7 @@
 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)
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]