From fa39e3b57d79b58c1b968a067c53ce5a6cb52210 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Sun, 6 Mar 2005 17:47:51 +0000 Subject: [PATCH] - Added "self" in method parameters git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@80 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- firewall/ipfw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firewall/ipfw.py b/firewall/ipfw.py index 79fe7c66..41fbc29b 100644 --- a/firewall/ipfw.py +++ b/firewall/ipfw.py @@ -39,7 +39,7 @@ class Ipfw(Firewall): crtRuleNbr = 0 - def getCrtRuleNbr(): + def getCrtRuleNbr(self): """ Gets the current rule number. """ return self.crtRuleNbr