]> git.openstreetmap.org Git - nominatim.git/blobdiff - munin/nominatim_query_speed_querylog
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / munin / nominatim_query_speed_querylog
index d663faf1a32d113d06d3e1aa7d22b01c8c9b35cc..4bbeac6896da6e724452976e37e2a92318fe72b1 100755 (executable)
@@ -128,9 +128,8 @@ class LogFile:
     def loglines(self):
         for l in self.fd:
             e = ENTRY_REGEX.match(l)
     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__':
 
 
 if __name__ == '__main__':