# 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))
Nobody/Anonymous
None
None
Public
|
Date: 2009-04-07 03:40 fixed in 2.7 (when it's released) |
| 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 |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use