From 255b21f2f47a6c39379f45612bf78cfeb253a3e5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 14 Oct 2010 11:12:03 +0000 Subject: [PATCH] minor bug fix --- tamper/space2comment.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tamper/space2comment.py b/tamper/space2comment.py index cbc60e2e7..5988f7db2 100644 --- a/tamper/space2comment.py +++ b/tamper/space2comment.py @@ -17,7 +17,10 @@ def tamper(place, value): for i in xrange(len(value)): if not firstspace: - firstspace = value[i].isspace() + if value[i].isspace(): + firstspace = True + retVal += "/**/" + continue elif value[i] == '\'': qoute = not qoute elif value[i] == '"':