Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: owners.py

Issue 7003057: Ignore empty lines in OWNERS files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: owners.py
diff --git a/owners.py b/owners.py
index 5be7ff6d005b815321d31622651a2606b945ab40..fc5fa923c81132fba59198bb87d32eace619ed08 100644
--- a/owners.py
+++ b/owners.py
@@ -147,7 +147,7 @@ class Database(object):
for line in self.fopen(owners_path):
lineno += 1
line = line.strip()
- if line.startswith('#'):
+ if line.startswith('#') or line == '':
M-A Ruel 2011/06/08 21:12:43 if line.startswith('#') or not line:
continue
if line == 'set noparent':
self.stop_looking.add(dirpath)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698