]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/indexer/runners.py
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / nominatim / indexer / runners.py
index ac7a0015a78a27469f6edaa85f3ae3dbfe70fff5..9a30ffe6b10c0c441efe6e1c61e892d996dfccaf 100644 (file)
@@ -66,7 +66,7 @@ class RankRunner(AbstractPlacexRunner):
     """
 
     def name(self):
-        return "rank {}".format(self.rank)
+        return f"rank {self.rank}"
 
     def sql_count_objects(self):
         return pysql.SQL("""SELECT count(*) FROM placex
@@ -86,7 +86,7 @@ class BoundaryRunner(AbstractPlacexRunner):
     """
 
     def name(self):
-        return "boundaries rank {}".format(self.rank)
+        return f"boundaries rank {self.rank}"
 
     def sql_count_objects(self):
         return pysql.SQL("""SELECT count(*) FROM placex