From 6fa11d1d531523501a45bedd7f950815420634e4 Mon Sep 17 00:00:00 2001
From: Evgenii Terechkov <evg@altlinux.org>
Date: Fri, 23 May 2014 23:18:05 +0800
Subject: [PATCH] Relax suds module requirement

---
 net_infrastructure/bigip_facts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 net_infrastructure/bigip_facts

diff --git a/net_infrastructure/bigip_facts b/net_infrastructure/bigip_facts
old mode 100644
new mode 100755
index 3a7a4533f69..99a1e31de68
--- a/net_infrastructure/bigip_facts
+++ b/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']