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

This commit is contained in:
Ian Dotson 2015-04-13 16:31:16 -04:00
parent b0479c425b
commit d85f97ccfd

View file

@ -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('['):