Change how we're calling StringIO since we're now importing the class rather than a module.

pull/10691/head
Ian Dotson 10 years ago
parent b0479c425b
commit d85f97ccfd

@ -319,7 +319,7 @@ class ActionBase:
filter only leading lines since multiline JSON is valid.
'''
filtered_lines = StringIO.StringIO()
filtered_lines = StringIO()
stop_filtering = False
for line in data.splitlines():
if stop_filtering or line.startswith('{') or line.startswith('['):

Loading…
Cancel
Save