Explorar el Código

Look for the right attribute.

Chris McDonough hace 16 años
padre
commit
117681b81b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/supervisor/process.py

+ 1 - 1
src/supervisor/process.py

@@ -78,7 +78,7 @@ class Subprocess:
 
     def reopenlogs(self):
         for dispatcher in self.dispatchers.values():
-            if hasattr(dispatcher, 'removelogs'):
+            if hasattr(dispatcher, 'reopenlogs'):
                 dispatcher.reopenlogs()
 
     def drain(self):