1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:34:40 -07:00

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
This commit is contained in:
Ivan Krasin 2010-08-12 00:04:17 -07:00 committed by Russ Cox
parent e41987c821
commit e8b8aeb02a

View File

@ -338,6 +338,7 @@ def ParseCL(text, name):
i = line.find('#') i = line.find('#')
if i >= 0: if i >= 0:
line = line[0:i].rstrip() line = line[0:i].rstrip()
line = line.strip()
if line == '': if line == '':
continue continue
cl.files.append(line) cl.files.append(line)