now you can use kb.pageTemplate to set a page which will be used as a template in comparison process (at least in '-[RANDNUM] OR' cases we'll need to use different template(s))

This commit is contained in:
Miroslav Stampar
2010-12-04 10:05:18 +00:00
parent 95a3f4b52f
commit 04714374f9
3 changed files with 8 additions and 6 deletions

View File

@@ -23,6 +23,7 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
return None
regExpResults = None
conf.seqMatcher.set_seq1(kb.pageTemplate)
if page:
# String to be excluded before calculating page hash