[GRASS-SVN] r48573 - grass/branches/develbranch_6/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 30 10:51:37 EDT 2011
Author: martinl
Date: 2011-09-30 07:51:37 -0700 (Fri, 30 Sep 2011)
New Revision: 48573
Modified:
grass/branches/develbranch_6/lib/python/task.py
Log:
pythonlib: get_interface_description(): comment-out problematic code (fails on debug)
Modified: grass/branches/develbranch_6/lib/python/task.py
===================================================================
--- grass/branches/develbranch_6/lib/python/task.py 2011-09-30 14:40:04 UTC (rev 48572)
+++ grass/branches/develbranch_6/lib/python/task.py 2011-09-30 14:51:37 UTC (rev 48573)
@@ -433,9 +433,9 @@
raise ScriptError, _("Unable to fetch interface description for command '%(cmd)s'."
"\n\nDetails: %(det)s") % { 'cmd' : cmd, 'det' : e }
- if cmderr and cmderr[:7] != 'WARNING':
- raise ScriptError, _("Unable to fetch interface description for command '%(cmd)s'."
- "\n\nDetails: %(det)s") % { 'cmd': cmd, 'det' : decode(cmderr) }
+ # if cmderr and cmderr[:7] != 'WARNING':
+ # raise ScriptError, _("Unable to fetch interface description for command '%(cmd)s'."
+ # "\n\nDetails: %(det)s") % { 'cmd': cmd, 'det' : decode(cmderr) }
return cmdout.replace('grass-interface.dtd', os.path.join(os.getenv('GISBASE'), 'etc', 'grass-interface.dtd'))
More information about the grass-commit
mailing list