diff options
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 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, |