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 f2f94dc

Browse filesBrowse files
authored
Update cursors.py
1 parent 1f8bd53 commit f2f94dc
Copy full SHA for f2f94dc

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-3
lines changed

‎MySQLdb/cursors.py

Copy file name to clipboardExpand all lines: MySQLdb/cursors.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ def callproc(self, procname, args=()):
350350

351351
db = self._get_db()
352352
if args:
353-
argFmt = '@_{0}_%d=%s'.format(procname)
354-
q = 'SET %s' % ','.join(argFmt % (index, db.literal(arg))
355-
for index, arg in enumerate(args))
353+
fmt = '@_{0}_%d=%s'.format(procname)
354+
q = 'SET %s' % ','.join(fmt % (index, db.literal(arg))
355+
for index, arg in enumerate(args))
356356
if isinstance(q, unicode):
357357
q = q.encode(db.encoding, 'surrogateescape')
358358
self._query(q)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.