Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e4db6d

Browse files
committed
minor fix for Python v2.6
1 parent f55ad46 commit 3e4db6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1637,7 +1637,7 @@ def getSPLSnippet(dbms, name, **variables):
16371637
retVal = re.sub(r"#.+", "", retVal)
16381638

16391639
for _ in variables.keys():
1640-
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal, flags=re.I)
1640+
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal)
16411641

16421642
_ = re.search(r"%([^%]+)%", retVal, re.I)
16431643
if _:

0 commit comments

Comments
 (0)