[GRASS-SVN] r61627 - grass-addons/grass7/gui/wxpython/wx.metadata/mdlib

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 14 07:19:07 PDT 2014


Author: krejcmat
Date: 2014-08-14 07:19:07 -0700 (Thu, 14 Aug 2014)
New Revision: 61627

Modified:
   grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py
Log:
fix insert

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py	2014-08-14 14:09:54 UTC (rev 61626)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py	2014-08-14 14:19:07 UTC (rev 61627)
@@ -17,7 +17,6 @@
 """
 from owslib.iso import *
 from jinja2 import Environment, FileSystemLoader
-sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'wx.metadata'))
 
 from lxml import etree
 import os
@@ -28,6 +27,7 @@
 import uuid
 import mdutil  # metadata lib
 import getpass  # whoami for linux and  ms-win
+sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'wx.metadata'))
 
 from grass.pygrass.modules.shortcuts import general as g
 from grass.pygrass.gis import Mapset



More information about the grass-commit mailing list