[gnue] r9860 - trunk/gnue-forms

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: btami
Date: 2008-03-19 05:14:05 -0500 (Wed, 19 Mar 2008)
New Revision: 9860

Modified:
   trunk/gnue-forms/setup.py
Log:
updated wx version check

Modified: trunk/gnue-forms/setup.py
===================================================================
--- trunk/gnue-forms/setup.py	2008-03-18 12:47:09 UTC (rev 9859)
+++ trunk/gnue-forms/setup.py	2008-03-19 10:14:05 UTC (rev 9860)
@@ -143,7 +143,7 @@
     if (os.environ.has_key('DISPLAY') and len(os.environ["DISPLAY"])) or \
        os.name!='posix':
       try:
-        from wxPython import wx
+        import wx
         if wx.__version__[0:2]=='2.':
           print "ok (%s)" % wx.__version__
           UIOK = 1
@@ -151,7 +151,7 @@
           # return now because subsequent import of pygtk will segfault.
           return
         else:
-          print "Version 2.3 or greater needed"
+          print "Version 2.6 or greater needed"
       except ImportError:
         pass
     else:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.