From 388510f379bf268c9fa7e135007fcf1295a5e82f Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Thu, 15 Dec 2016 14:54:25 -0500 Subject: [PATCH] Fix missing imports from sysctl module This module was missing an import of get_exception() and had an unused import of 're' --- lib/ansible/modules/system/sysctl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/system/sysctl.py b/lib/ansible/modules/system/sysctl.py index 8b744ce163..a4031a6b2a 100644 --- a/lib/ansible/modules/system/sysctl.py +++ b/lib/ansible/modules/system/sysctl.py @@ -117,8 +117,8 @@ EXAMPLES = ''' import os import tempfile -import re -from ansible.module_utils.basic import get_platform, AnsibleModule, BOOLEANS_TRUE, BOOLEANS_FALSE +from ansible.module_utils.basic import get_platform, get_exception, AnsibleModule, BOOLEANS_TRUE, BOOLEANS_FALSE + class SysctlModule(object):