Merge pull request #10691 from ianzd/python3
Change how we're calling StringIO
This commit is contained in:
commit
7133d6361f
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