[GRASS-SVN] r64906 - grass-addons/grass7/gui/wxpython/wx.mwprecip

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 25 03:28:39 PDT 2015


Author: martinl
Date: 2015-03-25 03:28:39 -0700 (Wed, 25 Mar 2015)
New Revision: 64906

Modified:
   grass-addons/grass7/gui/wxpython/wx.mwprecip/Makefile
   grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py
Log:
wx.mwprecip: fix compilation


Modified: grass-addons/grass7/gui/wxpython/wx.mwprecip/Makefile
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.mwprecip/Makefile	2015-03-25 06:45:15 UTC (rev 64905)
+++ grass-addons/grass7/gui/wxpython/wx.mwprecip/Makefile	2015-03-25 10:28:39 UTC (rev 64906)
@@ -2,7 +2,7 @@
 
 PGM= g.gui.mwprecip
 
-ETCFILES = mw3 mw_util pgwrapper wx.mwprecip
+ETCFILES = mw3 mw_util pgwrapper
 
 include $(MODULE_TOPDIR)/include/Make/Script.make
 include $(MODULE_TOPDIR)/include/Make/Python.make

Modified: grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py	2015-03-25 06:45:15 UTC (rev 64905)
+++ grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py	2015-03-25 10:28:39 UTC (rev 64906)
@@ -2,13 +2,14 @@
 
 import os
 import sys
+
+sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'g.gui.mwprecip'))
 from mw_util import *
 from mw3 import *
-sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'g.gui.mwprecip'))
+
 from core.gcmd import GMessage, GError
 from gui_core import gselect
 
-
 class DBconn(wx.Panel):
     def __init__(self, parent, settings={}):
         wx.Panel.__init__(self, parent=parent, id=wx.ID_ANY)



More information about the grass-commit mailing list