aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/buildSwigPython.py
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-02-26 23:53:49 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-02-26 23:53:49 +0000
commit44949ff3e125dcc4be58e38fc822e24558eb55cc (patch)
tree8b09038e2d3288bf39e9e3bce0d26062a1dbaa10 /lldb/scripts/Python/buildSwigPython.py
parentbee2099c494ecad3d3a1e90d7f8974941dc09e38 (diff)
downloadllvm-44949ff3e125dcc4be58e38fc822e24558eb55cc.zip
llvm-44949ff3e125dcc4be58e38fc822e24558eb55cc.tar.gz
llvm-44949ff3e125dcc4be58e38fc822e24558eb55cc.tar.bz2
[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
Diffstat (limited to 'lldb/scripts/Python/buildSwigPython.py')
-rw-r--r--lldb/scripts/Python/buildSwigPython.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/scripts/Python/buildSwigPython.py b/lldb/scripts/Python/buildSwigPython.py
index 6958a7c..36b0e7e 100644
--- a/lldb/scripts/Python/buildSwigPython.py
+++ b/lldb/scripts/Python/buildSwigPython.py
@@ -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,