Explorar o código

Processes needn't have pipes.

Chris McDonough %!s(int64=19) %!d(string=hai) anos
pai
achega
f0367fbdf2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/supervisor/supervisord.py

+ 1 - 1
src/supervisor/supervisord.py

@@ -156,7 +156,7 @@ class Subprocess:
         self.logbuffer += output
 
     def get_pipe_drains(self):
-        if not self.pipes['stderr'] or not self.pipes['stdout']:
+        if not self.pipes:
             return []
 
         return ( [ self.pipes['stderr'], self.drain_stderr],