From da651e312d5c8261ecaf96a422741d3654fcc01e 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
---
opendj-sdk/opends/tests/staf-tests/shared/functions/utils.xml | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/opendj-sdk/opends/tests/staf-tests/shared/functions/utils.xml b/opendj-sdk/opends/tests/staf-tests/shared/functions/utils.xml
index 402fb48..633cc93 100755
--- a/opendj-sdk/opends/tests/staf-tests/shared/functions/utils.xml
+++ b/opendj-sdk/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