We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3a4d68 commit 9342dd7Copy full SHA for 9342dd7
1 file changed
datajoint/connection.py
@@ -26,7 +26,6 @@
26
cache_key = "query_cache" # the key to lookup the query_cache folder in dj.config
27
28
29
-
30
def translate_query_error(client_error, query):
31
"""
32
Take client error and original query and return the corresponding DataJoint exception.
@@ -214,11 +213,9 @@ def connect(self):
214
213
**{
215
k: v
216
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
- )
+ if k == "ssl_input"
+ or k == "ssl"
+ and self.conn_info["ssl_input"] is None
222
},
223
)
224
self._conn.autocommit(True)
0 commit comments