Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 55a47bb

Browse filesBrowse files
Typo
1 parent fddbc19 commit 55a47bb
Copy full SHA for 55a47bb

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎MySQLdb/connections.py

Copy file name to clipboardExpand all lines: MySQLdb/connections.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.