Change how we're calling StringIO since we're now importing the class rather than a module.
This commit is contained in:
parent
b0479c425b
commit
d85f97ccfd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue