[Lldb-commits] [lldb] r153911 - /lldb/trunk/examples/summaries/cocoa/NSBundle.py

Enrico Granata egranata at apple.com
Mon Apr 2 16:49:35 PDT 2012


Author: enrico
Date: Mon Apr  2 18:49:34 2012
New Revision: 153911

URL: http://llvm.org/viewvc/llvm-project?rev=153911&view=rev
Log:
One last syntax error fix

Modified:
    lldb/trunk/examples/summaries/cocoa/NSBundle.py

Modified: lldb/trunk/examples/summaries/cocoa/NSBundle.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/summaries/cocoa/NSBundle.py?rev=153911&r1=153910&r2=153911&view=diff
==============================================================================
--- lldb/trunk/examples/summaries/cocoa/NSBundle.py (original)
+++ lldb/trunk/examples/summaries/cocoa/NSBundle.py Mon Apr  2 18:49:34 2012
@@ -53,7 +53,7 @@
 							self.sys_params.types_cache.NSString)
 		my_string = text.GetSummary()
 		if (my_string == None) or (my_string == ''):
-			statistics.metric_hit('unknown_class',str(valobj.GetName()) + " triggered unkown pointer location")
+			statistics.metric_hit('unknown_class',str(self.valobj.GetName()) + " triggered unkown pointer location")
 			return NSBundleUnknown_SummaryProvider(self.valobj, self.sys_params).url_text()
 		else:
 			statistics.metric_hit('code_notrun',self.valobj)





More information about the lldb-commits mailing list