Skip to content

Commit 85aa404

Browse files
Merge pull request #554 from austin-hilberg/master
Fix typo in connection error message.
2 parents 7ba4bbc + a0e644f commit 85aa404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def query(self, query, args=(), as_dict=False, suppress_warnings=True, reconnect
147147
cur.execute(query, args)
148148
except (err.InterfaceError, err.OperationalError) as e:
149149
if is_connection_error(e) and reconnect:
150-
warnings.warn("Mysql server has gone away. Reconnectting to the server.")
150+
warnings.warn("Mysql server has gone away. Reconnecting to the server.")
151151
self.connect()
152152
if self._in_transaction:
153153
self.cancel_transaction()

0 commit comments

Comments
 (0)