From 3e4db6d1408c7d8f2683795622870338b3fac91f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 20 Feb 2012 19:35:57 +0000 Subject: [PATCH] minor fix for Python v2.6 --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 3b63efde8..cb7f98c05 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1637,7 +1637,7 @@ def getSPLSnippet(dbms, name, **variables): retVal = re.sub(r"#.+", "", retVal) for _ in variables.keys(): - retVal = re.sub(r"%%%s%%" % _, variables[_], retVal, flags=re.I) + retVal = re.sub(r"%%%s%%" % _, variables[_], retVal) _ = re.search(r"%([^%]+)%", retVal, re.I) if _: