Fix 'NoneType' object has no attribute 'startswith'
When --fuchsia-out-dir is not specified, the variable is NoneType. It will hit "'NoneType' object has no attribute 'startswith'" error when trying to call os.path.expanduser() with it. Bug: 1115450 Change-Id: Iaf920b47ceb664a6ad7cd4963a016d1dfb60147e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2351934Reviewed-by:Sergey Ulanov <sergeyu@chromium.org> Commit-Queue: Chih-Hsuan Kuo <chkuo@google.com> Auto-Submit: Chih-Hsuan Kuo <chkuo@google.com> Cr-Commit-Position: refs/heads/master@{#798572}
Showing
Please register or sign in to comment