Merge pull request #9600 from msabramo/make_AnsibleError_a_plain_ol_exception

Make AnsibleError a plain ol' exception
This commit is contained in:
Toshio Kuratomi
2015-03-03 09:56:09 -08:00
2 changed files with 8 additions and 13 deletions

View File

@@ -17,12 +17,7 @@
class AnsibleError(Exception):
''' The base Ansible exception from which all others should subclass '''
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
pass
class AnsibleFileNotFound(AnsibleError):
pass