[GRASS-SVN] r41550 - grass/trunk/gui/wxpython/support
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 26 05:38:08 EDT 2010
Author: martinl
Date: 2010-03-26 05:37:45 -0400 (Fri, 26 Mar 2010)
New Revision: 41550
Modified:
grass/trunk/gui/wxpython/support/update_menudata.py
Log:
bogus: use 'diff' instead of 'svn diff'
Modified: grass/trunk/gui/wxpython/support/update_menudata.py
===================================================================
--- grass/trunk/gui/wxpython/support/update_menudata.py 2010-03-26 09:15:50 UTC (rev 41549)
+++ grass/trunk/gui/wxpython/support/update_menudata.py 2010-03-26 09:37:45 UTC (rev 41550)
@@ -110,8 +110,6 @@
file = os.path.join('xml', 'menudata.xml')
try:
- if not os.path.exists(file):
- raise IOError
data.tree.write(file)
except IOError:
print >> sys.stderr, "'%s' not found. Please run the script from 'gui/wxpython'." % file
@@ -153,7 +151,7 @@
writeData(data, tempFile.name)
nuldev = file(os.devnull, 'w+')
- grass.call(['svn', 'diff',
+ grass.call(['diff', '-u',
os.path.join('xml', 'menudata.xml'),
tempFile.name], stderr = nuldev)
else:
More information about the grass-commit
mailing list