Skip to content

Commit 008a56c

Browse files
codefairyperitus
authored andcommitted
Codefairy was here
1 parent 718095b commit 008a56c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/HttpLibrary/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ def context(self):
125125
@property
126126
def app(self):
127127
if not self.context.app:
128-
raise Exception('Not connected to any HTTP Host. Use "Create HTTP Context" keyword first.')
128+
raise Exception(
129+
'Not connected to any HTTP Host. Use "Create HTTP Context" keyword first.')
129130
return self.context.app
130131

131132
@property
@@ -291,7 +292,8 @@ def follow_response(self):
291292
raise Exception(
292293
"Can not follow a response without a location header.")
293294

294-
logger.debug("Following response, last response's Location header was %s" % location)
295+
logger.debug(
296+
"Following response, last response's Location header was %s" % location)
295297

296298
self.context.response = self.response.follow()
297299

0 commit comments

Comments
 (0)