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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 26 10:27:07 PST 2012


Author: zarch
Date: 2012-11-26 10:27:06 -0800 (Mon, 26 Nov 2012)
New Revision: 54055

Modified:
   grass/trunk/lib/python/pygrass/modules/__init__.py
Log:
Fix, get stdout and stderr even if finish_=True

Modified: grass/trunk/lib/python/pygrass/modules/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/__init__.py	2012-11-26 16:21:38 UTC (rev 54054)
+++ grass/trunk/lib/python/pygrass/modules/__init__.py	2012-11-26 18:27:06 UTC (rev 54055)
@@ -587,7 +587,7 @@
                                       stderr=self.stderr_)
         if self.finish_:
             self.popen.wait()
-            self.stdout, self.stderr = self.popen.communicate()
+        self.stdout, self.stderr = self.popen.communicate()
 
 _CMDS = list(grass.script.core.get_commands()[0])
 _CMDS.sort()



More information about the grass-commit mailing list