From 9cfdbefa42c06467fbcf94635be375d61e2e15ab Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Thu, 05 Apr 2007 20:20:14 +0000
Subject: [PATCH] Small change to allow more than one ACI to be retrieved from an ldif file for echoing into the testing log files.
---
opends/tests/functional-tests/shared/python/security.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/tests/functional-tests/shared/python/security.py b/opends/tests/functional-tests/shared/python/security.py
index 7115070..ef1813e 100644
--- a/opends/tests/functional-tests/shared/python/security.py
+++ b/opends/tests/functional-tests/shared/python/security.py
@@ -27,12 +27,12 @@
def retrieve_aci(filename):
aci_file = open(filename,"r")
- ret_str = "none"
+ ret_str = ""
for line in aci_file.readlines():
aci_index = line.find("aci:")
if aci_index > -1:
- ret_str = line
+ ret_str = ret_str + line
return ret_str
def write_ldaps_ldif_file(path, port):
--
Gitblit v1.10.0