From d47e020d5528de4298e6a329f5afa619ccfeb407 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Thu, 29 Mar 2018 14:46:17 -0700 Subject: [PATCH] add missing to_bytes import in interfaces_file --- lib/ansible/modules/system/interfaces_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/interfaces_file.py b/lib/ansible/modules/system/interfaces_file.py index af121c6daca..8cea05b8de4 100755 --- a/lib/ansible/modules/system/interfaces_file.py +++ b/lib/ansible/modules/system/interfaces_file.py @@ -150,7 +150,7 @@ import re import tempfile from ansible.module_utils.basic import AnsibleModule - +from ansible.module_utils._text import to_bytes def lineDict(line): return {'line': line, 'line_type': 'unknown'}