[Lldb-commits] [lldb] r302584 - Import sys in repo.py.

Lang Hames via lldb-commits lldb-commits at lists.llvm.org
Tue May 9 13:37:01 PDT 2017


Author: lhames
Date: Tue May  9 15:37:01 2017
New Revision: 302584

URL: http://llvm.org/viewvc/llvm-project?rev=302584&view=rev
Log:
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.


Modified:
    lldb/trunk/scripts/Xcode/repo.py

Modified: lldb/trunk/scripts/Xcode/repo.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Xcode/repo.py?rev=302584&r1=302583&r2=302584&view=diff
==============================================================================
--- lldb/trunk/scripts/Xcode/repo.py (original)
+++ lldb/trunk/scripts/Xcode/repo.py Tue May  9 15:37:01 2017
@@ -3,6 +3,7 @@ import os
 import re
 import shutil
 import subprocess
+import sys
 
 def identifier():
 	try:




More information about the lldb-commits mailing list