Donate Share

DenyHosts

Tracker: Bugs

5 error in --sync - ID: 1519140
Last Update: Settings changed ( phil_schwartz )

# denyhosts.py --sync
Error synchronizing data
name 'self' is not defined
# denyhosts.py --version
DenyHosts version: 2.5
#

to fix this error, line 185 of denyhosts.py should be
changed as follows:

--- denyhosts.py.orig 2006-07-08 12:08:23.000000000 +0300
+++ denyhosts.py 2006-07-08 12:22:06.000000000 +0300
@@ -182,7 +182,7 @@
sync = Sync(prefs)
if sync_upload:
timestamp = sync.send_new_hosts()
- if self.__sync_download:
+ if sync_download:
new_hosts = sync.receive_new_hosts()
if new_hosts:
info("received new hosts: %s",
str(new_hosts))


alexander smishlajev ( a1s ) - 2006-07-08 09:24

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2009-04-07 03:40
Sender: phil_schwartzProject AdminAccepting Donations

fixed in 2.7 (when it's released)


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2009-04-07 03:40 phil_schwartz
resolution_id None 2009-04-07 03:40 phil_schwartz
allow_comments 1 2009-04-07 03:40 phil_schwartz
close_date - 2009-04-07 03:40 phil_schwartz