Commit e8b8aeb0 authored by Ivan Krasin's avatar Ivan Krasin Committed by Russ Cox

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
parent e41987c8
...@@ -338,6 +338,7 @@ def ParseCL(text, name): ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment