[GRASS-SVN] r44802 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 30 06:46:10 EST 2010


Author: martinl
Date: 2010-12-30 03:46:10 -0800 (Thu, 30 Dec 2010)
New Revision: 44802

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI/menuform: ignore warning when parsing command
(merge r44801 from trunk)


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-12-30 11:44:20 UTC (rev 44801)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-12-30 11:46:10 UTC (rev 44802)
@@ -2135,7 +2135,7 @@
     except OSError, e:
         raise gcmd.GException, _("Unable to fetch interface description for command '%s'. "
                                  "Details: %s") % (cmd, repr(e))
-    if cmderr:
+    if cmderr and cmderr[:7] != 'WARNING':
         raise gcmd.GException, _("Unable to fetch interface description for command '%s'. "
                                  "Details: %s") % (cmd, cmderr)
     



More information about the grass-commit mailing list