Skip to content

Commit

Permalink
Bugfix ldx#1 in this branch
Browse files Browse the repository at this point in the history
So create_target()'s' goto parameter did not get passed to Target()... fixed.
  • Loading branch information
pepoluan committed Dec 15, 2016
1 parent 2d9eb2b commit c9da2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iptc/ip4tc.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ def create_target(self, name, revision=None, goto=False):
"""Create a new *target*, and set it as this rule's target. *name* is
the name of the target extension, *revision* is the revision to
use. *goto* determines if target uses '-j' (default) or '-g'."""
target = Target(self, name=name, revision=revision, goto=False)
target = Target(self, name=name, revision=revision, goto=goto)
self.target = target
return target

Expand Down

0 comments on commit c9da2e9

Please sign in to comment.