Skip to content

Commit

Permalink
Note about escaping real %s
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Marsden committed Jul 24, 2011
1 parent 909a28d commit 559fe82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions txmysql/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
DEBUG = False

def _escape(query, args=None): # XXX: Add Rob's suggestion for escaping
# TODO: Turn %% into % so that you can do a real %s
if args is None:
return query
escaped_args = []
Expand Down

0 comments on commit 559fe82

Please sign in to comment.