Skip to content

Commit

Permalink
Code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
puentesarrin committed Jun 17, 2019
1 parent 8f8ab5c commit 17d7e19
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions restea/adapters/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def prepare_response(self, content, status_code, content_type, headers):

def split_request_and_arguments(self, *args, **kwargs):
'''
Hook to return the original request object and arguments
Hook to return the original request object and arguments.
This method receives all arguments that the `wrap_request` method
receives and return the first argument as the request object by
Expand All @@ -68,7 +68,9 @@ def wrap_request(self, *args, **kwargs):
'''
data_format, kwargs = self._get_format_name(kwargs)
formatter = formats.get_formatter(data_format)
original_request, args, kwargs = self.split_request_and_arguments(*args, **kwargs)
original_request, args, kwargs = self.split_request_and_arguments(
*args, **kwargs
)

if not self.request_wrapper_class:
raise RuntimeError(
Expand Down

0 comments on commit 17d7e19

Please sign in to comment.