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

Unified Diff: bin/loman.py

Issue 3385001: loman: don't report error when adding an exact duplicate. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 3 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 | bin/loman_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/loman.py
diff --git a/bin/loman.py b/bin/loman.py
index 7575e2904f4e37ab27024aead6649e40d3b94627..ddb6d6d621f2771226ae327d472fa1f42f26fee1 100755
--- a/bin/loman.py
+++ b/bin/loman.py
@@ -43,6 +43,9 @@ class LocalManifest:
for project in self._root.findall('project'):
if project.attrib['path'] == path or project.attrib['name'] == name:
+ if project.attrib['path'] == path and project.attrib['name'] == name:
+ return True
+ else:
return False
self._AddProject(name, path, workon='True')
return True
« no previous file with comments | « no previous file | bin/loman_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698