Mike Naberezny преди 11 години
родител
ревизия
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.