Skip to content

Commit 527e160

Browse files
committed
Don't try to split a tuple for debug output
1 parent f88beb9 commit 527e160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-okta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def dbg(d, h, *xs):
126126
if not d:
127127
return
128128
for x in xs:
129-
if not isinstance(x, dict) and not isinstance(x, list):
129+
if not isinstance(x, (dict, list, tuple)):
130130
for line in x.split('\n'):
131131
print(u'[DEBUG] {0}: {1}'.format(h, line))
132132
else:

0 commit comments

Comments
 (0)