[swig] Fix some typos in the build scripts.

Reviewers: zturner, ki.stfu

Reviewed By: zturner, ki.stfu

Subscribers: ki.stfu, lldb-commits

Differential Revision: http://reviews.llvm.org/D7912

llvm-svn: 230706
This commit is contained in:
Bruce Mitchener
2015-02-26 23:53:49 +00:00
parent bee2099c49
commit 44949ff3e1
2 changed files with 3 additions and 3 deletions

View File

@@ -436,7 +436,7 @@ Removes given file, ignoring error if it doesn't exist.
"""
def remove_ignore_enoent(filename):
try:
os.remove( strSwigOutputFile );
os.remove( filename );
except OSError as e:
import errno
if e.errno != errno.ENOENT:
@@ -702,7 +702,7 @@ def main( vDictArgs ):
remove_ignore_enoent( strSwigOutputFile )
open( strSwigOutputFile, 'w' ).close(); # Touch the file
if bDebug:
strMsg = strMsgLldbDisablePython;
strMsg = strMsgLldbDisablePythonEnv;
return (0, strMsg );
# If this project is being built with LLDB_DISABLE_PYTHON defined,