diff options
author | The_Fly <richardassar@googlemail.com> | 2012-03-02 02:12:41 +0000 |
---|---|---|
committer | The_Fly <richardassar@googlemail.com> | 2012-03-02 02:12:41 +0000 |
commit | 813091250ed60da609792fc2c277f4bee01cb52b (patch) | |
tree | 7a92c964f2ec47c66447d0b49fe325dd08794903 | |
parent | c2a43827ae0eb5c2f1084795acb315c02209524f (diff) |
Tweak to deal with ===
-rw-r--r-- | tools/ie7_fix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ie7_fix.py b/tools/ie7_fix.py index b7d2a766..3cdabb07 100644 --- a/tools/ie7_fix.py +++ b/tools/ie7_fix.py @@ -9,6 +9,6 @@ outputFilename = sys.argv[2]; inputFiledata = open(inputFilename).read() outputFile = open(outputFilename, "w") -outputFile.write(re.sub('type\[type.length - 1\] == "\*"', 'type.charAt(type.length - 1) == "*"', inputFiledata)) +outputFile.write(re.sub('type\[type.length - 1\] ===? "\*"', 'type.charAt(type.length - 1) == "*"', inputFiledata)) outputFile.close() |