mirror of https://github.com/golang/go.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
This commit is contained in:
parent
e41987c821
commit
e8b8aeb02a
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue