浏览代码

improve vdigit warning message (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40107 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 15 年之前
父节点
当前提交
27c5ddb1f0
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      gui/wxpython/gui_modules/vdigit.py

+ 4 - 2
gui/wxpython/gui_modules/vdigit.py

@@ -62,9 +62,11 @@ except ImportError, err:
     GV_LINES = None
     GV_LINES = None
     PseudoDC = wx.PseudoDC
     PseudoDC = wx.PseudoDC
     errorMsg = err
     errorMsg = err
+    # is there a way to have this display on the terminal before the wx gui exits?
     print >> sys.stderr, "\nWARNING: Vector digitizer is not available (%s).\n\n" \
     print >> sys.stderr, "\nWARNING: Vector digitizer is not available (%s).\n\n" \
-        "Note that vector digitizer is currently not working under MS Windows (hopefully will be fixed soon). " \
-        "Please try more recent version of GRASS." % err
+        "Note that the vector digitizer is currently not working under MS Windows " \
+        "(hopefully this will be fixed soon). " \
+        "Please keep an eye out for updated versions of GRASS." % err
 
 
 class AbstractDigit:
 class AbstractDigit:
     """
     """