[GRASS-SVN] r48574 - grass/branches/releasebranch_6_4/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 30 10:54:50 EDT 2011


Author: martinl
Date: 2011-09-30 07:54:50 -0700 (Fri, 30 Sep 2011)
New Revision: 48574

Modified:
   grass/branches/releasebranch_6_4/lib/python/task.py
Log:
pythonlib: get_interface_description(): comment-out problematic code (fails on debug)
	   (merge r48573 from devbr6)


Modified: grass/branches/releasebranch_6_4/lib/python/task.py
===================================================================
--- grass/branches/releasebranch_6_4/lib/python/task.py	2011-09-30 14:51:37 UTC (rev 48573)
+++ grass/branches/releasebranch_6_4/lib/python/task.py	2011-09-30 14:54:50 UTC (rev 48574)
@@ -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