Selaa lähdekoodia

Fix KeyError caused by removal 'name' in 6b3d647b2d50ffbefdcc5ef042f9a828188f83a0
The variable is used in line 1340 ("Increased %(name)s limit").

Mike Naberezny 11 vuotta sitten
vanhempi
commit
b49e7487d4
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      supervisor/options.py

+ 1 - 0
supervisor/options.py

@@ -1325,6 +1325,7 @@ class ServerOptions(Options):
             lmin = limit['min']
             res = limit['resource']
             msg = limit['msg']
+            name = limit['name']
 
             soft, hard = resource.getrlimit(res)