From 5420edd3452d4d9935d7d5caa37a22fa13a5daf4 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Thu, 13 Dec 2007 18:04:15 +0000
Subject: [PATCH] CheckMatches() : use global variables True/False instead of strings

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

diff --git a/opends/tests/shared/functions/utils.xml b/opends/tests/shared/functions/utils.xml
index c300f50..e43e6aa 100755
--- a/opends/tests/shared/functions/utils.xml
+++ b/opends/tests/shared/functions/utils.xml
@@ -1170,9 +1170,9 @@
         </function-arg-description>
         <function-arg-property name="type" value="string"/>
       </function-arg-def>
-      <function-arg-def name="caseSensitive" type="optional" default="'true'">
+      <function-arg-def name="caseSensitive" type="optional" default="True">
         <function-arg-description>
-          comparison using case sensitive, or not value is : true/false
+          comparison using case sensitive, or not value is : True/False
         </function-arg-description>
         <function-arg-property name="type" value="string"/>
       </function-arg-def>
@@ -1188,7 +1188,7 @@
       <script>
         caseSensitiveInfo = '[case sensitive mode]'
         
-        if caseSensitive == 'false':
+        if caseSensitive == False:
           string2find = string2find.lower()
           mainString = mainString.lower()
           caseSensitiveInfo = '[case insensitive mode]'

--
Gitblit v1.10.0