Skip to content

Commit

Permalink
Fix chain.append_rule()
Browse files Browse the repository at this point in the history
  • Loading branch information
alip committed Nov 7, 2011
1 parent abfa28c commit 59a2f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iptc/__init__.py
Expand Up @@ -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
Expand Down

0 comments on commit 59a2f0f

Please sign in to comment.