Skip to content

Commit 9342dd7

Browse files
formatting
1 parent c3a4d68 commit 9342dd7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

datajoint/connection.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
cache_key = "query_cache" # the key to lookup the query_cache folder in dj.config
2727

2828

29-
3029
def translate_query_error(client_error, query):
3130
"""
3231
Take client error and original query and return the corresponding DataJoint exception.
@@ -214,11 +213,9 @@ def connect(self):
214213
**{
215214
k: v
216215
for k, v in self.conn_info.items()
217-
if not (
218-
k in ["ssl_input"]
219-
or k == "ssl"
220-
and self.conn_info["ssl_input"] is None
221-
)
216+
if k == "ssl_input"
217+
or k == "ssl"
218+
and self.conn_info["ssl_input"] is None
222219
},
223220
)
224221
self._conn.autocommit(True)

0 commit comments

Comments
 (0)