[Lldb-commits] [lldb] r252091 - Don't access class members inside of `__del__`.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 4 15:03:10 PST 2015


Author: zturner
Date: Wed Nov  4 17:03:10 2015
New Revision: 252091

URL: http://llvm.org/viewvc/llvm-project?rev=252091&view=rev
Log:
Don't access class members inside of `__del__`.

Apparently this doesn't work as the attribute doesn't exist anymore.

Modified:
    lldb/trunk/scripts/utilsDebug.py

Modified: lldb/trunk/scripts/utilsDebug.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/utilsDebug.py?rev=252091&r1=252090&r2=252091&view=diff
==============================================================================
--- lldb/trunk/scripts/utilsDebug.py (original)
+++ lldb/trunk/scripts/utilsDebug.py Wed Nov  4 17:03:10 2015
@@ -76,10 +76,6 @@ class CDebugFnVerbose:
 	def __init__( self, vstrFnName ):
 		self.__indent_out( vstrFnName );
 		
-	# Class destructor 
-	def __del__( self ):
-		self.__indent_back();
-		
 	#++------------------------------------------------------------------------
 	# Details:	Build an indentation string of dots based on the __nLevel.
 	# Type:		Method.




More information about the lldb-commits mailing list