summaryrefslogtreecommitdiffstats
path: root/hostinfo/printer.py
diff options
context:
space:
mode:
Diffstat (limited to 'hostinfo/printer.py')
-rw-r--r--hostinfo/printer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostinfo/printer.py b/hostinfo/printer.py
index d635d0a..ea612a5 100644
--- a/hostinfo/printer.py
+++ b/hostinfo/printer.py
@@ -121,7 +121,7 @@ class Printer:
def _print_list(self, values, printer, filter_key):
for value in values:
- if isinstance(value, str):
+ if isinstance(value, basestring):
self._print_value(value, printer, filter_key)
else:
self._print(value, printer, filter_key)