"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/fuglu/plugins/p_fraction.py" between
fuglu-0.10.8.tar.gz and fuglu-1.0.0.tar.gz

About: FuGlu is a mail scanning daemon for Postfix written in Python. It acts as a glue application between the MTA and spam checkers and antivirus software.

p_fraction.py  (fuglu-0.10.8):p_fraction.py  (fuglu-1.0.0)
skipping to change at line 34 skipping to change at line 34
@incomingport 1100 SAPlugin,AttachmentPlugin @incomingport 1100 SAPlugin,AttachmentPlugin
""" """
def __init__(self, config, section=None): def __init__(self, config, section=None):
PrependerPlugin.__init__(self, config, section) PrependerPlugin.__init__(self, config, section)
self.filter = None self.filter = None
self.requiredvars = { self.requiredvars = {
'filterfile': { 'filterfile': {
'default': '/etc/fuglu/pluginfraction.regex', 'default': '/etc/fuglu/pluginfraction.regex',
'description': 'path to file containing scanner plugin fraction regex rules'
} }
} }
self.logger = self._logger() self.logger = self._logger()
def __str__(self): def __str__(self):
return "Plugin Fraction" return "Plugin Fraction"
def pluginlist(self, suspect, pluginlist): def pluginlist(self, suspect, pluginlist):
"""Removes scannerplugins based on filter file""" """Removes scannerplugins based on filter file"""
if not self._initfilter(): if not self._initfilter():
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)