瀏覽代碼

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

Mike Naberezny 11 年之前
父節點
當前提交
b49e7487d4
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      supervisor/options.py

+ 1 - 0
supervisor/options.py

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