mirror of https://github.com/fail2ban/fail2ban
fix for bug #343821: path is not appended but inserted first
parent
687c2775ad
commit
7d9c08bc22
|
@ -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
|
fail2ban (0.6.0-1) unstable; urgency=low
|
||||||
|
|
||||||
* Merged with the latest stable upstream release. That incure some
|
* Merged with the latest stable upstream release. That incure some
|
||||||
|
|
5
fail2ban
5
fail2ban
|
@ -28,8 +28,9 @@ __license__ = "GPL"
|
||||||
|
|
||||||
import sys, traceback, logging
|
import sys, traceback, logging
|
||||||
|
|
||||||
# Appends our own modules path.
|
# Inserts our own modules path first in the list
|
||||||
sys.path.append("/usr/share/fail2ban")
|
# fix for bug #343821
|
||||||
|
sys.path.insert(1, "/usr/share/fail2ban")
|
||||||
|
|
||||||
# Now we can import our modules.
|
# Now we can import our modules.
|
||||||
import fail2ban
|
import fail2ban
|
||||||
|
|
Loading…
Reference in New Issue