fail2ban/fail2ban — pull request #722 by sebres (2014-05-15 17:51:38+00:00)
Title: fix a TypeError bug in both lambda, read attempt from info.

After pull to my origin I have often an error:
Failed to execute ban jail 'pam-generic' action 'iptables-allports': TypeError in lambda;

This occurred, cause getAttempt returns not a list (numeric), so by call of join in both lambda we have an exception TypeError;

Besides, the code is a bit simplifyed, imho. But the bug is "join" only:

"\n".join(...)