From 7ad6f6e385e0e8ca9df103d7fcf3bdd2a5f811ec Mon Sep 17 00:00:00 2001 From: Evgenii Terechkov Date: Fri, 23 May 2014 23:18:05 +0800 Subject: [PATCH] Relax suds module requirement --- library/net_infrastructure/bigip_facts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 library/net_infrastructure/bigip_facts diff --git a/library/net_infrastructure/bigip_facts b/library/net_infrastructure/bigip_facts old mode 100644 new mode 100755 index 3a7a4533f69..99a1e31de68 --- a/library/net_infrastructure/bigip_facts +++ b/library/net_infrastructure/bigip_facts @@ -105,6 +105,7 @@ EXAMPLES = ''' try: import bigsuds + from suds import MethodNotFound except ImportError: bigsuds_found = False else: @@ -113,7 +114,6 @@ else: import fnmatch import traceback import re -from suds import MethodNotFound # =========================================== # bigip_facts module specific support methods. @@ -1580,7 +1580,7 @@ def main(): ) 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'] user = module.params['user']