diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-02-26 23:53:49 +0000 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-02-26 23:53:49 +0000 |
| commit | 44949ff3e125dcc4be58e38fc822e24558eb55cc (patch) | |
| tree | 8b09038e2d3288bf39e9e3bce0d26062a1dbaa10 /lldb/scripts/Python/buildSwigPython.py | |
| parent | bee2099c494ecad3d3a1e90d7f8974941dc09e38 (diff) | |
| download | bcm5719-llvm-44949ff3e125dcc4be58e38fc822e24558eb55cc.tar.gz bcm5719-llvm-44949ff3e125dcc4be58e38fc822e24558eb55cc.zip | |
[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.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/scripts/Python/buildSwigPython.py b/lldb/scripts/Python/buildSwigPython.py index 6958a7c1705..36b0e7e396b 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, |

