From 8360f70024330eeeb5c53d29e4a05194f872b511 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Oct 2016 15:15:22 +1300 Subject: First-order conversion to Python3-only - Zap various occurrences of Python2 in docs and scripts - Remove six from netlib, and some other places where obvious project-wide search and replace works. --- pathod/pathoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pathod/pathoc.py') diff --git a/pathod/pathoc.py b/pathod/pathoc.py index e2627a61..59ae5fba 100644 --- a/pathod/pathoc.py +++ b/pathod/pathoc.py @@ -461,7 +461,7 @@ class Pathoc(tcp.TCPClient): May raise a exceptions.NetlibException """ - if isinstance(r, six.string_types): + if isinstance(r, str): r = next(language.parse_pathoc(r, self.use_http2)) if isinstance(r, language.http.Request): -- cgit v1.2.3