Skip to content

Commit 55a47bb

Browse files
Typo
1 parent fddbc19 commit 55a47bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MySQLdb/connections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class object, used to create cursors (keyword only)
171171
# easier for users by removing the SSL argument in that case.
172172
if ("ssl" in kwargs2 and
173173
kwargs2.get("host", "localhost") == "localhost"):
174-
del kwargs["ssl"]
174+
del kwargs2["ssl"]
175175

176176
if 'database' in kwargs2:
177177
kwargs2['db'] = kwargs2.pop('database')

0 commit comments

Comments
 (0)