Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit6395d86

Browse files
committed
The "%d", while syntactically correct, was confusing. Added a space to
make it clearer that d was the argument to the format operator.
1 parent1ef62bb commit6395d86

File tree

1 file changed

+1
-1
lines changed
  • src/interfaces/python

1 file changed

+1
-1
lines changed

‎src/interfaces/python/pg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _quote(d, t):
3838
iftin ('inet','cidr')andd=='':return"NULL"
3939

4040
return"'%s'"%string.strip(re.sub("'","''", \
41-
re.sub("\\\\","\\\\\\\\","%s"%d)))
41+
re.sub("\\\\","\\\\\\\\","%s"%d)))
4242

4343
classDB:
4444
"""This class wraps the pg connection type"""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp