Переглянути джерело

Look for the right attribute.

Chris McDonough 16 роки тому
батько
коміт
117681b81b
1 змінених файлів з 1 додано та 1 видалено
  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):