Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed Oct 22, 2015
1 parent fbec463 commit 5fb8ae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/request/comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
if page is None and pageLength is None:
return None

count = 0

seqMatcher = threadData.seqMatcher
seqMatcher.set_seq1(kb.pageTemplate)

Expand Down Expand Up @@ -122,7 +124,6 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
seq1 = seq1.replace(REFLECTED_VALUE_MARKER, "")
seq2 = seq2.replace(REFLECTED_VALUE_MARKER, "")

count = 0
while count < min(len(seq1), len(seq2)):
if seq1[count] == seq2[count]:
count += 1
Expand Down

0 comments on commit 5fb8ae9

Please sign in to comment.