Revision: 3648
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3648&view=rev
Author:   mdboom
Date:     2007-08-01 05:19:03 -0700 (Wed, 01 Aug 2007)

Log Message:
-----------
Earlier versions of pygtk don't have a pygobject version

Modified Paths:
--------------
    trunk/matplotlib/setupext.py

Modified: trunk/matplotlib/setupext.py
===================================================================
--- trunk/matplotlib/setupext.py        2007-08-01 12:15:03 UTC (rev 3647)
+++ trunk/matplotlib/setupext.py        2007-08-01 12:19:03 UTC (rev 3648)
@@ -409,9 +409,13 @@
     
     if gotit:
         import gobject
+        if hasattr(gobject, 'pygobject_version'):
+            pygobject_version = ver2str(gobject.pygobject_version)
+        else:
+            pygobject_version = '[pre-pygobject]'
         print_status("Gtk+", "gtk+: %s, glib: %s, pygtk: %s, pygobject: %s" %
                      (ver2str(gtk.gtk_version), ver2str(gobject.glib_version),
-                      ver2str(gtk.pygtk_version), 
ver2str(gobject.pygobject_version)))
+                      ver2str(gtk.pygtk_version), pygobject_version))
     else:
         print_status("Gtk+", "no")
         print_message(explanation)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to