Grammar fixes.

Change-Id: Iff3f5765193e0bc98dfc377ee5a9b6f47ae11859
This commit is contained in:
Matt Joyce
2012-05-29 12:04:03 -07:00
parent 1bbf44fa67
commit d5cc5fd2f0
14 changed files with 25 additions and 24 deletions

View File

@@ -77,7 +77,7 @@ def nova_todo_format(physical_line):
"""
pos = physical_line.find('TODO')
pos1 = physical_line.find('TODO(')
pos2 = physical_line.find('#') # make sure its a comment
pos2 = physical_line.find('#') # make sure it's a comment
if (pos != pos1 and pos2 >= 0 and pos2 < pos):
return pos, "NOVA N101: Use TODO(NAME)"