]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/tools/special_phrases/special_phrase.py
release 4.5.0.post7
[nominatim.git] / src / nominatim_db / tools / special_phrases / special_phrase.py
index cf5c504848f8407eb9d9994a9cb8957dd57e1e6d..bb16258f0e563010a8c9f0ebd42ea4f92c5474ee 100644 (file)
@@ -12,6 +12,7 @@
 """
 from typing import Any
 
+
 class SpecialPhrase:
     """
         Model representing a special phrase.
@@ -29,9 +30,9 @@ class SpecialPhrase:
             return False
 
         return self.p_label == other.p_label \
-               and self.p_class == other.p_class \
-               and self.p_type == other.p_type \
-               and self.p_operator == other.p_operator
+            and self.p_class == other.p_class \
+            and self.p_type == other.p_type \
+            and self.p_operator == other.p_operator
 
     def __hash__(self) -> int:
         return hash((self.p_label, self.p_class, self.p_type, self.p_operator))