[GRASS-SVN] r46343 - grass/trunk/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 21 09:51:24 EDT 2011


Author: glynn
Date: 2011-05-21 06:51:24 -0700 (Sat, 21 May 2011)
New Revision: 46343

Modified:
   grass/trunk/lib/python/core.py
Log:
Don't try to decode process output


Modified: grass/trunk/lib/python/core.py
===================================================================
--- grass/trunk/lib/python/core.py	2011-05-21 13:49:33 UTC (rev 46342)
+++ grass/trunk/lib/python/core.py	2011-05-21 13:51:24 UTC (rev 46343)
@@ -233,7 +233,7 @@
     @return stdout
     """
     ps = pipe_command(*args, **kwargs)
-    return _decode(ps.communicate()[0])
+    return ps.communicate()[0]
 
 def parse_command(*args, **kwargs):
     """!Passes all arguments to read_command, then parses the output by



More information about the grass-commit mailing list