amend for 3036ed18893b6aae6619e53201aa53deb701b94f: resolve deprecated syntax (eliminate "invalid sequence" warnings)

pull/2427/head
sebres 2019-05-14 20:42:05 +02:00
parent f69a8693fc
commit 939f0d43e0
1 changed files with 1 additions and 1 deletions

View File

@ -1375,7 +1375,7 @@ class Fail2banServerTest(Fail2banClientServerBase):
"action = test-action1[name='%(__name__)s']", "action = test-action1[name='%(__name__)s']",
" test-action2[name='%(__name__)s']", " test-action2[name='%(__name__)s']",
"logpath = " + test1log, "logpath = " + test1log,
"failregex = ^\s*failure <F-ERRCODE>401|403</F-ERRCODE> from <HOST>:\s*<F-MSG>.*</F-MSG>$", r"failregex = ^\s*failure <F-ERRCODE>401|403</F-ERRCODE> from <HOST>:\s*<F-MSG>.*</F-MSG>$",
"enabled = true", "enabled = true",
"", "",
) )