Mike Naberezny 11 лет назад
Родитель
Сommit
caeaf504e4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      supervisor/rpcinterface.py

+ 1 - 1
supervisor/rpcinterface.py

@@ -117,7 +117,7 @@ class SupervisorNamespaceRPCInterface:
         self._update('clearLog')
 
         logfile = self.supervisord.options.logfile
-        if  logfile is None or not self.supervisord.options.exists(logfile):
+        if logfile is None or not self.supervisord.options.exists(logfile):
             raise RPCError(Faults.NO_FILE)
 
         # there is a race condition here, but ignore it.