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

Unified Diff: setup_links.py

Issue 2496323004: Make setup_links.py not fail if Chromium checkout is missing. (Closed)
Patch Set: Created 4 years, 1 month 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: setup_links.py
diff --git a/setup_links.py b/setup_links.py
index 637f95babc5fdeac6e8fed154586948cd0ab9144..e54689213a1fb65e9bbb3096a5152721a099dca0 100755
--- a/setup_links.py
+++ b/setup_links.py
@@ -507,9 +507,10 @@ def main():
'administrator. Please run with user account privileges.')
if not os.path.exists(CHROMIUM_CHECKOUT):
- logging.error('Cannot find a Chromium checkout at %s. Did you run "gclient '
- 'sync" before running this script?', CHROMIUM_CHECKOUT)
- return 2
+ logging.warning('Cannot find a Chromium checkout at %s. Did you run '
+ '"gclient sync" before running this script?',
+ CHROMIUM_CHECKOUT)
+ return 0
links_database = _initialize_database(LINKS_DB)
try:
« 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