Skip to content

Commit

Permalink
Fixed typo in Basic HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
tcalmant committed Sep 5, 2017
1 parent 7559284 commit fc7737a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelix/http/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def _rest_dispatch(self, request, response):
extra_pos_args = []
if kwargs:
# Ignore the first two parameters (request and response)
method_args = get_method_arguments(best_method)[:2]
method_args = get_method_arguments(best_method).args[:2]
for pos_arg in method_args:
try:
extra_pos_args.append(kwargs.pop(pos_arg))
Expand Down

0 comments on commit fc7737a

Please sign in to comment.