From a48516b1056404023299d0fb76ee78079aa5ae93 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Wed, 25 Nov 2009 22:09:47 -0200 Subject: [PATCH] removed obsolete remove_escape_chars function - use replace_escape_chars instead --- scrapy/utils/markup.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scrapy/utils/markup.py b/scrapy/utils/markup.py index c978628ed..d422fbde5 100644 --- a/scrapy/utils/markup.py +++ b/scrapy/utils/markup.py @@ -120,9 +120,6 @@ def replace_escape_chars(text, which_ones=('\n','\t','\r'), replace_by=u''): text = text.replace(ec, str_to_unicode(replace_by)) return str_to_unicode(text) -# FIXME: backwards compatibility - should be removed before 0.7 release -remove_escape_chars = replace_escape_chars - def unquote_markup(text, keep=(), remove_illegal=True): """ This function receives markup as a text (always a unicode string or a utf-8 encoded string) and does the following: