Skip to content

Commit

Permalink
object_resolver need to pass the *a, or some cases will cause exception
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Artemenko <svetlyak.40wt@gmail.com>
  • Loading branch information
tualatrix authored and svetlyak40wt committed Apr 15, 2009
1 parent 6c47fe6 commit fcf6d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pingback/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def ping_func(source, target):
raise PingbackError(PingbackError.TARGET_IS_NOT_PINGABLE)

object_resolver = kwargs[name]
obj = object_resolver(**kw)
obj = object_resolver(*a, **kw)

content_type = ContentType.objects.get_for_model(obj)
try:
Expand Down

0 comments on commit fcf6d67

Please sign in to comment.