From d85f97ccfd4e3c61f479c7055088bb8d4d74a51d Mon Sep 17 00:00:00 2001 From: Ian Dotson Date: Mon, 13 Apr 2015 16:31:16 -0400 Subject: [PATCH] Change how we're calling StringIO since we're now importing the class rather than a module. --- v2/ansible/plugins/action/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/ansible/plugins/action/__init__.py b/v2/ansible/plugins/action/__init__.py index be83539def6..30d1641090e 100644 --- a/v2/ansible/plugins/action/__init__.py +++ b/v2/ansible/plugins/action/__init__.py @@ -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('['):