fix for bug #343821: path is not appended but inserted first

debian-releases/etch
Yaroslav Halchenko 19 years ago
parent 687c2775ad
commit 7d9c08bc22

8
debian/changelog vendored

@ -1,3 +1,11 @@
fail2ban (0.6.0-2) unstable; urgency=low
* fail2ban path is inserted first in the list to avoid a conflict with
existing elsewhere modules with the same names. (Thanks for report and
patch to Nick Craig-Wood) (closes: #343821)
-- Yaroslav Halchenko <debian@onerussian.com> Mon, 19 Dec 2005 17:44:58 +0200
fail2ban (0.6.0-1) unstable; urgency=low
* Merged with the latest stable upstream release. That incure some

@ -28,8 +28,9 @@ __license__ = "GPL"
import sys, traceback, logging
# Appends our own modules path.
sys.path.append("/usr/share/fail2ban")
# Inserts our own modules path first in the list
# fix for bug #343821
sys.path.insert(1, "/usr/share/fail2ban")
# Now we can import our modules.
import fail2ban

Loading…
Cancel
Save