From f819bb524a456db48c55e34ac5cb0691fe6b0ba7 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Wed, 15 Jun 2016 10:37:38 -0400 Subject: [PATCH] zone plugin updates for newer api (#16289) Fixes errors on import. --- lib/ansible/plugins/connection/zone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/connection/zone.py b/lib/ansible/plugins/connection/zone.py index 2bd49a5249f..eaf0a049b9d 100644 --- a/lib/ansible/plugins/connection/zone.py +++ b/lib/ansible/plugins/connection/zone.py @@ -31,7 +31,7 @@ import traceback from ansible import constants as C from ansible.errors import AnsibleError from ansible.plugins.connection import ConnectionBase, BUFSIZE -from ansible.utils import to_bytes +from ansible.utils.unicode import to_bytes try: from __main__ import display