Skip to content

Commit f99fe44

Browse files
blackify
1 parent e6f4ffd commit f99fe44

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

datajoint/connection.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from getpass import getpass
1010
import re
1111
import pathlib
12-
import shutil
1312

1413
from .settings import config
1514
from . import errors
@@ -22,7 +21,7 @@
2221
query_log_max_length = 300
2322

2423

25-
cache_key = "query_cache" # the key to lookup the query_cache folder in dj.config
24+
cache_key = "query_cache" # the key to lookup the query_cache folder in dj.config
2625

2726

2827
def get_host_hook(host_input):
@@ -224,7 +223,7 @@ def connect(self):
224223
k: v
225224
for k, v in self.conn_info.items()
226225
if k not in ["ssl_input", "host_input"]
227-
}
226+
},
228227
)
229228
except client.err.InternalError:
230229
self._conn = client.connect(
@@ -240,7 +239,7 @@ def connect(self):
240239
or k == "ssl"
241240
and self.conn_info["ssl_input"] is None
242241
)
243-
}
242+
},
244243
)
245244
self._conn.autocommit(True)
246245

0 commit comments

Comments
 (0)