فهرست منبع

Fix test failure caused by removal of name variable in d4dd20cba641997f5e2aac3732868e1b66a192e4
This code should be rewritten to not use locals().

Mike Naberezny 11 سال پیش
والد
کامیت
f41bc71d79
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      supervisor/options.py

+ 1 - 0
supervisor/options.py

@@ -1362,6 +1362,7 @@ class ServerOptions(Options):
             res = limit['resource']
             msg = limit['msg']
             name = limit['name']
+            name = name # name is used below by locals()
 
             soft, hard = resource.getrlimit(res)