diff options
author | Lang Hames <lhames@gmail.com> | 2017-05-09 20:37:01 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2017-05-09 20:37:01 +0000 |
commit | a088f2fbccd8f22e3c0f2b22085b406f5bfb4c53 (patch) | |
tree | c509bac481fb3118bee0fc1a98d9723900a54a66 /lldb/scripts/Xcode/repo.py | |
parent | b483e28c7742bdd913280fdcfa5f26ede542cdcb (diff) | |
download | bcm5719-llvm-a088f2fbccd8f22e3c0f2b22085b406f5bfb4c53.tar.gz bcm5719-llvm-a088f2fbccd8f22e3c0f2b22085b406f5bfb4c53.zip |
Import sys in repo.py.
The find function in repo.py calls sys.exit on error. Without this import that
call to exit will fail, masking the actual error message. This patch fixes that.
llvm-svn: 302584
Diffstat (limited to 'lldb/scripts/Xcode/repo.py')
-rw-r--r-- | lldb/scripts/Xcode/repo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/scripts/Xcode/repo.py b/lldb/scripts/Xcode/repo.py index c1e5fe339d2..7623c503ba9 100644 --- a/lldb/scripts/Xcode/repo.py +++ b/lldb/scripts/Xcode/repo.py @@ -3,6 +3,7 @@ import os import re import shutil import subprocess +import sys def identifier(): try: |