Just had a quick look at the code. In deny_hosts.py we see the following:

        if new_denied_hosts:
            if not status:
msg = "WARNING: Could not add the following hosts to %s" % self.__prefs.get('HOSTS_DENY')
            else:
msg = "Added the following hosts to %s" % self.__prefs.get('HOSTS_DENY')
            self.__report.add_section(msg, new_denied_hosts)
if self.__sync_server: self.sync_add_hosts(new_denied_hosts)
            plugin_deny = self.__prefs.get('PLUGIN_DENY')
            if plugin_deny: plugin.execute(plugin_deny, deny_hosts)


Now - I'm no python coder - so I can't easily follow what led to this point - BUT it does appear strange that the call to plugin.execute passes deny_hosts as a variable instead of new_denied_hosts which the rest of the section is using.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to