Prechádzať zdrojové kódy

Remove extra call to upcheck in _tailf
The callers do_maintail and do_tail call upcheck before _tailf

Mike Naberezny 11 rokov pred
rodič
commit
e65a46ab0b
1 zmenil súbory, kde vykonal 0 pridanie a 3 odobranie
  1. 0 3
      supervisor/supervisorctl.py

+ 0 - 3
supervisor/supervisorctl.py

@@ -382,9 +382,6 @@ class DefaultControllerPlugin(ControllerPluginBase):
     name = 'default'
     name = 'default'
     listener = None # for unit tests
     listener = None # for unit tests
     def _tailf(self, path):
     def _tailf(self, path):
-        if not self.ctl.upcheck():
-            return
-
         self.ctl.output('==> Press Ctrl-C to exit <==')
         self.ctl.output('==> Press Ctrl-C to exit <==')
 
 
         username = self.ctl.options.username
         username = self.ctl.options.username