[GRASS-SVN] r62012 - grass/trunk/lib/python/pygrass/modules/grid

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 17 06:55:30 PDT 2014


Author: wenzeslaus
Date: 2014-09-17 06:55:30 -0700 (Wed, 17 Sep 2014)
New Revision: 62012

Modified:
   grass/trunk/lib/python/pygrass/modules/grid/grid.py
Log:
pygrass/grid: provide at least basic error message

the error is visible in the lib/python/pygrass/modules/testsuite/test_doctest.py test


Modified: grass/trunk/lib/python/pygrass/modules/grid/grid.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/grid/grid.py	2014-09-17 13:53:13 UTC (rev 62011)
+++ grass/trunk/lib/python/pygrass/modules/grid/grid.py	2014-09-17 13:55:30 UTC (rev 62012)
@@ -540,7 +540,7 @@
             result = pool.map_async(cmd_exe, self.get_works())
             result.wait()
             if not result.successful():
-                raise RuntimeError
+                raise RuntimeError(_("Execution of subprocesses was not successful"))
 
         if patch:
             if self.move:



More information about the grass-commit mailing list