Explorar el Código

Fix, get stdout and stderr even if finish_=True

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54055 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli hace 12 años
padre
commit
aa888ac09a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/python/pygrass/modules/__init__.py

+ 1 - 1
lib/python/pygrass/modules/__init__.py

@@ -587,7 +587,7 @@ class Module(object):
                                       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()