ソースを参照

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):