[GRASS-SVN] r44803 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 30 06:47:22 EST 2010


Author: martinl
Date: 2010-12-30 03:47:22 -0800 (Thu, 30 Dec 2010)
New Revision: 44803

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


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-12-30 11:46:10 UTC (rev 44802)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-12-30 11:47:22 UTC (rev 44803)
@@ -1964,7 +1964,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