X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0aaeced8aa7aaaa573144724674b2e824fa11778..7ea860b2c083a0b1c3cc99fb07cd803b2000f880:/munin/nominatim_requests_querylog diff --git a/munin/nominatim_requests_querylog b/munin/nominatim_requests_querylog index 8538a95c..aa41a4de 100755 --- a/munin/nominatim_requests_querylog +++ b/munin/nominatim_requests_querylog @@ -121,9 +121,8 @@ class LogFile: def loglines(self): for l in self.fd: e = ENTRY_REGEX.match(l) - if e is None: - raise ValueError("Invalid log line:", l) - yield e.groupdict() + if e is not None: + yield e.groupdict() if __name__ == '__main__':