mirror of https://github.com/fail2ban/fail2ban
static method forgotten;
parent
ee94daa121
commit
03dfff04a5
|
@ -125,3 +125,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)
|
||||
|
|
Loading…
Reference in New Issue