]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/db/async_connection.py
more formatting fixes
[nominatim.git] / nominatim / db / async_connection.py
index f06f3159f7b392c30526e988ef86aed5ecd4035a..a86c5bdcee13eb37c4874f29be286d2b06beecc0 100644 (file)
@@ -85,7 +85,7 @@ class DBConnection:
 
         # Use a dict to hand in the parameters because async is a reserved
         # word in Python3.
-        self.conn = psycopg2.connect(**{'dsn' : self.dsn, 'async' : True})
+        self.conn = psycopg2.connect(**{'dsn': self.dsn, 'async': True})
         self.wait()
 
         self.cursor = self.conn.cursor(cursor_factory=cursor_factory)