From: Ivan Krasin Date: Thu, 12 Aug 2010 07:04:17 +0000 (-0700) Subject: codereview.py: Fix issues with leading tabulation in the Files: section of CL descrip... X-Git-Tag: weekly.2010-08-25~68 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e8b8aeb02a56a2644978ce62c3c12aeb1c01a04b;p=gostls13.git codereview.py: Fix issues with leading tabulation in the Files: section of CL description. R=imkrasin, rsc CC=golang-dev https://golang.org/cl/1943042 --- diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index 84fbee61fa..509c8b6d40 100644 --- a/lib/codereview/codereview.py +++ b/lib/codereview/codereview.py @@ -338,6 +338,7 @@ def ParseCL(text, name): i = line.find('#') if i >= 0: line = line[0:i].rstrip() + line = line.strip() if line == '': continue cl.files.append(line)