mirror of https://github.com/scrapy/scrapy.git
removed unused private variable
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40619
This commit is contained in:
parent
f8a6e2fc7c
commit
c69d94fb45
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue