diff -r 2b602a1521e7 -r 6caa231421cf UtilitiesPython2/Tools.py --- a/UtilitiesPython2/Tools.py Fri Sep 09 11:54:20 2011 +0200 +++ b/UtilitiesPython2/Tools.py Fri Sep 09 12:00:59 2011 +0200 @@ -108,7 +108,7 @@ """ flags = [] - pos = line.rindex(startComment) + pos = line.rfind(startComment) if pos >= 0: comment = line[pos + len(startComment):].strip() if endComment: