From d19a8b638025ad9811e77c58c88bd183cecb0ecf Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Mon, 05 Mar 2012 10:46:11 +0000
Subject: [PATCH] Add new snmp functional test suite

---
 opends/tests/staf-tests/shared/functions/utils.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/opends/tests/staf-tests/shared/functions/utils.xml b/opends/tests/staf-tests/shared/functions/utils.xml
index 402fb48..633cc93 100755
--- a/opends/tests/staf-tests/shared/functions/utils.xml
+++ b/opends/tests/staf-tests/shared/functions/utils.xml
@@ -190,15 +190,16 @@
 
         <script>
           try:
-            if issueId.__class__ is org.python.core.PyList:
+            from org.python.core import PyList
+            if issueId.__class__ is PyList:
                 for issue in issueId:
                   if issue not in issuesList:
                     issuesList.append(issue)
             else:
               if issueId not in issuesList:
                 issuesList.append(issueId)
-          except:
-            print 'Issues list undefined. Unable to add issue %s' % issueId
+          except Exception,e:
+            print 'Issues list undefined. Unable to add issue %s. Reason=%s' % (issueId,e)
         </script>
         <message log="1" level="'Error'">
           'ERROR: HIT **** Known Issue (%s) ****' % issueId

--
Gitblit v1.10.0