[GRASS-SVN] r74305 - grass/trunk/lib/python/script

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 26 07:42:03 PDT 2019


Author: martinl
Date: 2019-03-26 07:42:03 -0700 (Tue, 26 Mar 2019)
New Revision: 74305

Modified:
   grass/trunk/lib/python/script/core.py
Log:
python script lib: cosmetics in CalledModuleError

Modified: grass/trunk/lib/python/script/core.py
===================================================================
--- grass/trunk/lib/python/script/core.py	2019-03-25 23:25:18 UTC (rev 74304)
+++ grass/trunk/lib/python/script/core.py	2019-03-26 14:42:03 UTC (rev 74305)
@@ -349,7 +349,7 @@
     else:
         # TODO: construction of the whole command is far from perfect
         args = make_command(*args, **kwargs)
-        code = ''.join([decode(each) for each in args])
+        code = ' '.join([decode(each) for each in args])
         raise CalledModuleError(module=None, code=code,
                                 returncode=returncode)
 



More information about the grass-commit mailing list