]> git.openstreetmap.org Git - nominatim.git/blobdiff - munin/nominatim_requests_querylog
Revert "increase weight for country tokens"
[nominatim.git] / munin / nominatim_requests_querylog
index 8538a95ccfb641c1be5315b81be076cd360490c7..aa41a4de82f15c187a941ce5e4507867a6170917 100755 (executable)
@@ -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__':