From addfea6614ddffe8e1e3b64fd673ec93f90bd8a7 Mon Sep 17 00:00:00 2001 From: sebres Date: Thu, 15 May 2014 15:16:53 +0200 Subject: [PATCH] static method forgotten; --- fail2ban/server/mytime.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fail2ban/server/mytime.py b/fail2ban/server/mytime.py index 43362501..43f5dabd 100644 --- a/fail2ban/server/mytime.py +++ b/fail2ban/server/mytime.py @@ -116,3 +116,4 @@ class MyTime: val = re.sub(r"(?i)(?<=[\d\s])(%s)\b" % rexp, "*"+str(rpl), val) val = re.sub(r"(\d)\s+(\d)", r"\1+\2", val); return eval(val) + str2seconds = staticmethod(str2seconds) \ No newline at end of file