aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/language/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/language/base.py')
-rw-r--r--pathod/language/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pathod/language/base.py b/pathod/language/base.py
index 39155858..3446f74c 100644
--- a/pathod/language/base.py
+++ b/pathod/language/base.py
@@ -3,7 +3,6 @@ import os
import abc
import pyparsing as pp
-import six
from six.moves import reduce
from netlib import strutils
from netlib import human
@@ -342,7 +341,7 @@ class OptionsOrValue(_Component):
# it to be canonical. The user can specify a different case by using a
# string value literal.
self.option_used = False
- if isinstance(value, six.string_types):
+ if isinstance(value, str):
for i in self.options:
# Find the exact option value in a case-insensitive way
if i.lower() == value.lower():