iwla

iwla Commit Details

Date:2015-01-13 18:54:57 (6 years 6 months ago)
Author:Grégory Soutadé
Branch:dev, master
Commit:1d9bf71b4b2df090038a52bd3e39c3785d14d60b
Parents: 9d3f7c05a4a4a1a5756e500df2cb306bf7aac790
Message:Set arguments of page_to_hit facultative

Changes:
Mplugins/pre_analysis/page_to_hit.py (1 diff)

File differences

plugins/pre_analysis/page_to_hit.py
5858
5959
6060
61
6261
6362
6463
6564
66
6765
6866
6967
def load(self):
# Page to hit
self.ph_regexps = self.iwla.getConfValue('page_to_hit_conf', [])
if not self.ph_regexps: return False
self.ph_regexps = map(lambda(r): re.compile(r), self.ph_regexps)
# Hit to page
self.hp_regexps = self.iwla.getConfValue('hit_to_page_conf', [])
if not self.hp_regexps: return False
self.hp_regexps = map(lambda(r): re.compile(r), self.hp_regexps)
return True

Archive Download the corresponding diff file

Branches

Tags