Commit 7ad6f6e3 by Evgenii Terechkov Committed by James Cammarata

Relax suds module requirement

parent 871f0378
...@@ -105,6 +105,7 @@ EXAMPLES = ''' ...@@ -105,6 +105,7 @@ EXAMPLES = '''
try: try:
import bigsuds import bigsuds
from suds import MethodNotFound
except ImportError: except ImportError:
bigsuds_found = False bigsuds_found = False
else: else:
...@@ -113,7 +114,6 @@ else: ...@@ -113,7 +114,6 @@ else:
import fnmatch import fnmatch
import traceback import traceback
import re import re
from suds import MethodNotFound
# =========================================== # ===========================================
# bigip_facts module specific support methods. # bigip_facts module specific support methods.
...@@ -1580,7 +1580,7 @@ def main(): ...@@ -1580,7 +1580,7 @@ def main():
) )
if not bigsuds_found: if not bigsuds_found:
module.fail_json(msg="the python bigsuds module is required") module.fail_json(msg="the python suds and bigsuds modules is required")
server = module.params['server'] server = module.params['server']
user = module.params['user'] user = module.params['user']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment