Skip to content

Commit

Permalink
pep8 corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
cdent committed Feb 2, 2015
1 parent 485be48 commit c2bac97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gabbi/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@ def _test_headers(self, headers, response):

try:
response_value = response[header]
except KeyError as exc:
except KeyError:
# Reform KeyError to something more debuggable.
raise KeyError("'%s' header not available in response keys: %s"
% (header, response.keys()))
% (header, response.keys()))

if header_value.startswith('/') and header_value.endswith('/'):
header_value = header_value.strip('/').rstrip('/')
Expand Down

0 comments on commit c2bac97

Please sign in to comment.