[GRASS-SVN] r47346 - grass-addons/grass7/gui/wxpython/wx.wms
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 2 06:25:10 EDT 2011
Author: sudeepsingh
Date: 2011-08-02 03:25:10 -0700 (Tue, 02 Aug 2011)
New Revision: 47346
Added:
grass-addons/grass7/gui/wxpython/wx.wms/ServersList.xml
Removed:
grass-addons/grass7/gui/wxpython/wx.wms/out.xml
Modified:
grass-addons/grass7/gui/wxpython/wx.wms/addserver.py
Log:
renamed out.xml to ServersList.xml
Added: grass-addons/grass7/gui/wxpython/wx.wms/ServersList.xml
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.wms/ServersList.xml (rev 0)
+++ grass-addons/grass7/gui/wxpython/wx.wms/ServersList.xml 2011-08-02 10:25:10 UTC (rev 47346)
@@ -0,0 +1,44 @@
+<serverinfo>
+ <server id="a3">
+ <servername>
+ a3
+ </servername>
+ <serverurl>
+ b3
+ </serverurl>
+ <username>
+ c3
+ </username>
+ <password>
+ d3
+ </password>
+ </server>
+ <server id="GISNetServer">
+ <servername>
+ GISNetServer
+ </servername>
+ <serverurl>
+ http://www.gisnet.lv/cgi-bin/topo
+ </serverurl>
+ <username>
+ uname
+ </username>
+ <password>
+ password
+ </password>
+ </server>
+ <server id="a2">
+ <servername>
+ a2
+ </servername>
+ <serverurl>
+ b2
+ </serverurl>
+ <username>
+ c2
+ </username>
+ <password>
+ d2
+ </password>
+ </server>
+</serverinfo>
Modified: grass-addons/grass7/gui/wxpython/wx.wms/addserver.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.wms/addserver.py 2011-08-02 10:18:04 UTC (rev 47345)
+++ grass-addons/grass7/gui/wxpython/wx.wms/addserver.py 2011-08-02 10:25:10 UTC (rev 47346)
@@ -49,7 +49,7 @@
#sudeep code starts
- self.soup = initServerInfoBase('out.xml')
+ self.soup = initServerInfoBase('ServersList.xml')
self.Bind(wx.EVT_CLOSE, self.OnQuit)
self.__populate_URL_List(self.ServerList)
#sudeep code ends
@@ -227,7 +227,7 @@
def OnQuit(self, event): # wxGlade: ServerAdd.<event_handler>
print 'onQuit pressed'
xml = self.soup.prettify()
- f = open('out.xml','w')
+ f = open('ServersList.xml','w')
f.write(xml)
f.close()
out = open('serverList.txt','w')
Deleted: grass-addons/grass7/gui/wxpython/wx.wms/out.xml
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.wms/out.xml 2011-08-02 10:18:04 UTC (rev 47345)
+++ grass-addons/grass7/gui/wxpython/wx.wms/out.xml 2011-08-02 10:25:10 UTC (rev 47346)
@@ -1,30 +0,0 @@
-<serverinfo>
- <server id="a2">
- <servername>
- a2
- </servername>
- <serverurl>
- b2
- </serverurl>
- <username>
- c2
- </username>
- <password>
- d2
- </password>
- </server>
- <server id="a1">
- <servername>
- a1
- </servername>
- <serverurl>
- b1
- </serverurl>
- <username>
- c1
- </username>
- <password>
- d1
- </password>
- </server>
-</serverinfo>
\ No newline at end of file
More information about the grass-commit
mailing list