From c69d94fb459b8b3faae1597eb16b93e20fb4832a Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Fri, 2 Jan 2009 20:44:07 +0000 Subject: [PATCH] removed unused private variable --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40619 --- scrapy/trunk/scrapy/utils/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/trunk/scrapy/utils/python.py b/scrapy/trunk/scrapy/utils/python.py index af3e4cdca..3ea5124c8 100644 --- a/scrapy/trunk/scrapy/utils/python.py +++ b/scrapy/trunk/scrapy/utils/python.py @@ -84,7 +84,7 @@ def re_rsearch(pattern, text, chunk_size=1024): the start position of the match, and the ending (regarding the entire text). """ def _chunk_iter(): - offset = text_len = len(text) + offset = len(text) while True: offset -= (chunk_size * 1024) if offset <= 0: