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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jun 21 10:33:31 PDT 2013


Author: wenzeslaus
Date: 2013-06-21 10:33:31 -0700 (Fri, 21 Jun 2013)
New Revision: 56869

Modified:
   grass/trunk/lib/python/script/core.py
Log:
pythonlib/scripts: can concatenate only list and list

Modified: grass/trunk/lib/python/script/core.py
===================================================================
--- grass/trunk/lib/python/script/core.py	2013-06-21 16:19:28 UTC (rev 56868)
+++ grass/trunk/lib/python/script/core.py	2013-06-21 17:33:31 UTC (rev 56869)
@@ -1258,7 +1258,7 @@
     """
     nuldev = file(os.devnull, 'w+')
     try:
-        call([pgm] + args, stdin = nuldev, stdout = nuldev, stderr = nuldev)
+        call([pgm] + list(args), stdin = nuldev, stdout = nuldev, stderr = nuldev)
         found = True
     except:
         found = False



More information about the grass-commit mailing list