Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Commit

Permalink
Fix flake8 basestring complaints.
Browse files Browse the repository at this point in the history
  • Loading branch information
hwms committed Feb 23, 2020
1 parent b359887 commit 718b97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyper/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def init_context(cert_path=None, cert=None, cert_password=None):

if cert is not None:
try:
basestring
basestring # pragma: no cover
except NameError:
basestring = (str, bytes)
if not isinstance(cert, basestring):
Expand Down

0 comments on commit 718b97c

Please sign in to comment.