From cdb4d350b4ded9bade51e56f886efb30a74b024b Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Sun, 19 Mar 2017 22:03:57 -0400 Subject: [PATCH] removes unneeded exception --- lib/ansible/errors/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/ansible/errors/__init__.py b/lib/ansible/errors/__init__.py index 6bac864051d..b2bf10dad28 100644 --- a/lib/ansible/errors/__init__.py +++ b/lib/ansible/errors/__init__.py @@ -196,8 +196,3 @@ class AnsibleUndefinedVariable(AnsibleRuntimeError): class AnsibleFileNotFound(AnsibleRuntimeError): ''' a file missing failure ''' pass - -class AnsibleModuleExit(Exception): - ''' local module exit ''' - def __init__(self, result): - self.result = result