X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0aaeced8aa7aaaa573144724674b2e824fa11778..45a52249135d25d86c853e2146eaebe808764245:/munin/nominatim_query_speed_querylog diff --git a/munin/nominatim_query_speed_querylog b/munin/nominatim_query_speed_querylog index d663faf1..4bbeac68 100755 --- a/munin/nominatim_query_speed_querylog +++ b/munin/nominatim_query_speed_querylog @@ -128,9 +128,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__':