[GRASS-SVN] r36215 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 6 17:10:17 EST 2009


Author: martinl
Date: 2009-03-06 17:10:17 -0500 (Fri, 06 Mar 2009)
New Revision: 36215

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_mapdisp.py
   grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_tools.py
Log:
[GRASS-SVN] r36214 - grass/trunk/gui/wxpython/gui_modules
	    	     					 
							 	Posta
in arrivo							     X	
   								     		
														
															grass/commit		X	
																					

Rispondi a tutti
Inoltra
Rispondi via chat
Filtra i messaggi di questo tipo
Stampa
Aggiungi all'Elenco contatti
Elimina questo messaggio
Segnala phishing
Segnala come non phishing
Mostra originale
Mostra con larghezza carattere corretta
Mostra con larghezza carattere variabile
Il testo del messaggio contiene caratteri incomprensibili?
Perch?\195?\169 ?\195?\168 stato contrassegnato come spam/non spam?
svn_grass at osgeo.org
 a grass-commit
   
   mostra dettagli 23.06 (0 minuti fa)
   	  
	  	   
		   Rispondi
		   	   
			   	
				Author: martinl
				Date: 2009-03-06 17:06:58 -0500 (Fri,
06 Mar 2009)
New Revision: 36214

Modified:
  grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py
    grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
    Log:
    wxGUI: show error message if nviz extension is not available
wxGUI: show error message if nviz extension is not available
       (merge from trunk, r36214)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_mapdisp.py	2009-03-06 22:06:58 UTC (rev 36214)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_mapdisp.py	2009-03-06 22:10:17 UTC (rev 36215)
@@ -37,10 +37,7 @@
 from preferences import globalSettings as UserSettings
 
 sys.path.append(os.path.join(globalvar.ETCWXDIR, "nviz"))
-try:
-    import grass6_wxnviz as wxnviz
-except ImportError:
-    pass
+import grass6_wxnviz as wxnviz
 
 wxUpdateProperties, EVT_UPDATE_PROP = NewEvent()
 wxUpdateView,       EVT_UPDATE_VIEW = NewEvent()

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_tools.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_tools.py	2009-03-06 22:06:58 UTC (rev 36214)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_tools.py	2009-03-06 22:10:17 UTC (rev 36215)
@@ -30,10 +30,7 @@
 from nviz_mapdisp import wxUpdateProperties as wxUpdateProperties
 
 sys.path.append(os.path.join(globalvar.ETCWXDIR, "nviz"))
-try:
-   import grass6_wxnviz as wxnviz
-except ImportError:
-   pass
+import grass6_wxnviz as wxnviz
 
 class NvizToolWindow(wx.Frame):
     """Experimental window for Nviz tools



More information about the grass-commit mailing list