Browse Source

wxGUI/menuform: ignore warning when parsing command
(merge https://trac.osgeo.org/grass/changeset/44801 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44802 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 14 years ago
parent
commit
9ca35d680e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gui_modules/menuform.py

+ 1 - 1
gui/wxpython/gui_modules/menuform.py

@@ -2135,7 +2135,7 @@ def getInterfaceDescription(cmd):
     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)