mirror of https://github.com/fail2ban/fail2ban
BF: Typo in "z" regex addition for TimeRE
parent
5c16ac3a89
commit
d41f372c6c
|
@ -27,7 +27,7 @@ from .mytime import MyTime
|
|||
locale_time = LocaleTime()
|
||||
timeRE = TimeRE()
|
||||
if 'z' not in timeRE: # python2.6 not present
|
||||
timeRE['z'] = r"(?P<z>[+-]\d{2}[-5]\d)"
|
||||
timeRE['z'] = r"(?P<z>[+-]\d{2}[0-5]\d)"
|
||||
|
||||
def reGroupDictStrptime(found_dict):
|
||||
"""This is tweaked from python built-in _strptime"""
|
||||
|
|
Loading…
Reference in New Issue