[GRASS-SVN] r67893 - in grass-addons/grass7/gui/wxpython/wx.metadata: db.csw.admin g.gui.cswbrowser g.gui.metadata r.info.iso t.info.iso v.info.iso
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 20 02:03:04 PST 2016
Author: martinl
Date: 2016-02-20 02:03:04 -0800 (Sat, 20 Feb 2016)
New Revision: 67893
Modified:
grass-addons/grass7/gui/wxpython/wx.metadata/db.csw.admin/db.csw.admin.py
grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.cswbrowser/g.gui.cswbrowser.py
grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.py
grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
grass-addons/grass7/gui/wxpython/wx.metadata/t.info.iso/t.info.iso.py
grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py
Log:
wx.metadata: fix mdlib imports
Modified: grass-addons/grass7/gui/wxpython/wx.metadata/db.csw.admin/db.csw.admin.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/db.csw.admin/db.csw.admin.py 2016-02-20 09:40:00 UTC (rev 67892)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/db.csw.admin/db.csw.admin.py 2016-02-20 10:03:04 UTC (rev 67893)
@@ -117,14 +117,14 @@
import sys
import os
import ConfigParser
+import getopt
from grass.script import core as grass
from grass.pygrass.utils import set_path
set_path(modulename='wx.metadata', dirname='mdlib')
-import getopt
-from cswutil import *
+from mdlib.cswutil import *
try:
from pycsw.core import admin, config
Modified: grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.cswbrowser/g.gui.cswbrowser.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.cswbrowser/g.gui.cswbrowser.py 2016-02-20 09:40:00 UTC (rev 67892)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.cswbrowser/g.gui.cswbrowser.py 2016-02-20 10:03:04 UTC (rev 67893)
@@ -19,7 +19,7 @@
from grass.script.setup import set_gui_path
set_gui_path()
-from cswlib import CSWBrowserPanel, CSWConnectionPanel
+from mdlib.cswlib import CSWBrowserPanel, CSWConnectionPanel
class CswBrowserMainDialog(wx.Frame):
def __init__(self,giface=None):
Modified: grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.py 2016-02-20 09:40:00 UTC (rev 67892)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.py 2016-02-20 10:03:04 UTC (rev 67893)
@@ -40,11 +40,11 @@
set_path(modulename='wx.metadata', dirname='mdlib')
-import mdgrass
-import mdutil
-from mdpdffactory import PdfCreator
-from cswlib import CSWConnectionPanel
-from mdeditorfactory import MdMainEditor
+from mdlib import mdgrass
+from mdlib import mdutil
+from mdlib.mdpdffactory import PdfCreator
+from mdlib.cswlib import CSWConnectionPanel
+from mdlib.mdeditorfactory import MdMainEditor
from lxml import etree
import wx
Modified: grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py 2016-02-20 09:40:00 UTC (rev 67892)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py 2016-02-20 10:03:04 UTC (rev 67893)
@@ -44,7 +44,7 @@
def main():
# load metadata library
- from mdgrass import GrassMD
+ from mdlib.mdgrass import GrassMD
if not options['output']:
destination = None
Modified: grass-addons/grass7/gui/wxpython/wx.metadata/t.info.iso/t.info.iso.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/t.info.iso/t.info.iso.py 2016-02-20 09:40:00 UTC (rev 67892)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/t.info.iso/t.info.iso.py 2016-02-20 10:03:04 UTC (rev 67893)
@@ -44,7 +44,7 @@
def main():
# load metadata library
- from mdgrass import GrassMD
+ from mdlib.mdgrass import GrassMD
if not options['output']:
destination = None
Modified: grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py 2016-02-20 09:40:00 UTC (rev 67892)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py 2016-02-20 10:03:04 UTC (rev 67893)
@@ -43,7 +43,7 @@
def main():
# load metadata library
- from mdgrass import GrassMD
+ from mdlib.mdgrass import GrassMD
if not options['output']:
destination = None
More information about the grass-commit
mailing list