Skip to content

Commit

Permalink
#381 make double backslash at end of replace
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Feb 13, 2013
1 parent d059d8b commit 085f105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/migration/versions/067_turn_extras_to_strings.py
Expand Up @@ -2,7 +2,6 @@
def upgrade(migrate_engine):

replace_string = "replace("*39 + r"""value,
'\\', '\'),
'\/', '/'),
'\"', '"'),
'\f', E'\f'),
Expand Down Expand Up @@ -40,7 +39,8 @@ def upgrade(migrate_engine):
'\u001c', E'\x1c'),
'\u001d', E'\x1d'),
'\u001e', E'\x1e'),
'\u001f', E'\x1f')
'\u001f', E'\x1f'),
'\\', '\')
"""

update_statement = r'''
Expand Down

0 comments on commit 085f105

Please sign in to comment.