From 6c79e9c525fbab9d902a11d2b65f66692faea951 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.
---
opendj-sdk/opends/tests/functional-tests/shared/python/security.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/python/security.py b/opendj-sdk/opends/tests/functional-tests/shared/python/security.py
index 7115070..ef1813e 100644
--- a/opendj-sdk/opends/tests/functional-tests/shared/python/security.py
+++ b/opendj-sdk/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