http://bugzilla.novell.com/show_bug.cgi?id=596354 http://bugzilla.novell.com/show_bug.cgi?id=596354#c0 Summary: dh_reenable script fails Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pat@indy.rr.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ Epiphany/2.28.2 SUSE/2.28.0-2.4 when trying to reenable an ip which denyhosts added to /etc/hosts.deny, the script /usr/sbin/dh_reenable fails: 16:44 wahoo:~ # dh_reenable 12.34.567.890 File "/usr/sbin/dh_reenable", line 22 from __future__ import with_statement SyntaxError: from __future__ imports must occur at the beginning of the file note: editing /usr/sbin/dh_reenable and moving "from__future__imports" to the top of the script corrects the error but does not reenable the ip. Reproducible: Always Steps to Reproduce: 1./usr/sbin/dh_reenable <ip> 2. 3. Actual Results: quoted above Expected Results: remove the subject ip from the deny lists, /etc/hosts.deny, /var/lib/denyhosts/* -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.