Просмотр исходного кода

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 лет назад
Родитель
Сommit
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
     PseudoDC = wx.PseudoDC
     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" \
-        "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:
     """