diff -up DenyHosts-2.6/denyhosts.py.orig DenyHosts-2.6/denyhosts.py --- DenyHosts-2.6/denyhosts.py.orig 2008-11-07 16:10:06.000000000 -0600 +++ DenyHosts-2.6/denyhosts.py 2008-11-07 16:11:11.000000000 -0600 @@ -17,6 +17,7 @@ from DenyHosts.denyfileutil import Purge from DenyHosts.constants import * from DenyHosts.sync import Sync +info = logging.getLogger("denyhosts").info ################################################################################# @@ -186,8 +187,8 @@ if __name__ == '__main__': new_hosts = sync.receive_new_hosts() if new_hosts: info("received new hosts: %s", str(new_hosts)) - sync.get_denied_hosts() - sync.update_hosts_deny(new_hosts) + dh.get_denied_hosts() + dh.update_hosts_deny(new_hosts) sync.xmlrpc_disconnect() except Exception, e: lock_file.remove()