Skip to content

Commit

Permalink
Merge pull request #3 from bu-ist/develop
Browse files Browse the repository at this point in the history
Represent strings as unicode
  • Loading branch information
nkavanagh committed May 20, 2014
2 parents 54104c7 + 91af0b7 commit 5372d34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/comments.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is a comment: “ortizda01”
SELECT * FROM Batting
2 changes: 1 addition & 1 deletion sqlfilter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def filter_sql(sql, blacklisted_tokens, format_filtered=True):
was_filtered = True
filtered_sql += filtered_statement
else:
filtered_sql += str(statement)
filtered_sql += unicode(statement)

if was_filtered:
if format_filtered:
Expand Down

0 comments on commit 5372d34

Please sign in to comment.