Fix printer inspect on Python2
@@ -30,8 +30,7 @@ class Printer(object):
self._out.writeln("%s:" % k)
for sk, sv in sorted(v.items()):
self._out.writeln(" %s: %s" % (sk, str(sv)))
- else:
- if isinstance(v, tuple):
+ elif '\n' in str(v):
self._out.writeln("%s:" % k)
option_values = OptionsValues.loads(v)
for ok, ov in option_values.items():
