Skip to content

Commit a4dc92c

Browse files
fix typo/invalid variable name referenced
1 parent 4af64eb commit a4dc92c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ See below for an example (from `the example`_): ::
5252
self.history.append(response)
5353

5454
if response.ok:
55-
logging.debug('No padding exception raised on %r', cookie)
55+
logging.debug('No padding exception raised on %r', somecookie)
5656
return
5757

5858
# An HTTP 500 error was returned, likely due to incorrect padding

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def oracle(self, data):
2727
self.history.append(response)
2828

2929
if response.ok:
30-
logging.debug('No padding exception raised on %r', cookie)
30+
logging.debug('No padding exception raised on %r', somecookie)
3131
return
3232

3333
raise BadPaddingException

0 commit comments

Comments
 (0)