From 0fcc3ae68a2b579e30ce333eecd977ff0d408371 Mon Sep 17 00:00:00 2001 From: Ali Polatel Date: Mon, 7 Nov 2011 05:18:40 +0200 Subject: [PATCH] Fix chain.append_rule() --- iptc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iptc/__init__.py b/iptc/__init__.py index ad63a1c..3b157a6 100644 --- a/iptc/__init__.py +++ b/iptc/__init__.py @@ -1088,7 +1088,7 @@ def append_rule(self, rule): rbuf = rule.rule if not rbuf: raise ValueError("invalid rule") - self.table.append_entry(self.name, rbuf, position) + self.table.append_entry(self.name, rbuf) def insert_rule(self, rule, position=0): """Insert *rule* as the first entry in the chain if *position* is 0 or