From 40919a807e84f32be87ffb569857c116469d3641 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 14 Sep 2009 17:04:13 +0000
Subject: [PATCH] Fix snmp/snmp_mibvalues testsuite and fix tests report generation

---
 opends/tests/staf-tests/shared/python/snmp.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/tests/staf-tests/shared/python/snmp.py b/opends/tests/staf-tests/shared/python/snmp.py
index 312135a..60bfc6f 100644
--- a/opends/tests/staf-tests/shared/python/snmp.py
+++ b/opends/tests/staf-tests/shared/python/snmp.py
@@ -41,9 +41,9 @@
 
     for line in output.splitlines():
       if line.startswith('ds'):
-        key = line.split(separator)[0].strip()
+        key = line.split(separator,1)[0].strip()
         try:
-          value = line.split(separator)[1].strip()
+          value = line.split(separator,1)[1].strip()
         except IndexError:
           value = '-'
         table[key] = value

--
Gitblit v1.10.0