Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6cd8d5c

Browse files
committed
missing allow_none=True
1 parent f44a185 commit 6cd8d5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/kernel/zmq/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def _signature_scheme_changed(self, name, old, new):
341341
def _digest_mod_default(self):
342342
return hashlib.sha256
343343

344-
auth = Instance(hmac.HMAC)
344+
auth = Instance(hmac.HMAC, allow_none=True)
345345

346346
def _new_auth(self):
347347
if self.key:

0 commit comments

Comments
 (0)