[Lldb-commits] [lldb] r136016 - /lldb/trunk/scripts/Python/modify-python-lldb.py

Johnny Chen johnny.chen at apple.com
Mon Jul 25 16:44:48 PDT 2011


Author: johnny
Date: Mon Jul 25 18:44:48 2011
New Revision: 136016

URL: http://llvm.org/viewvc/llvm-project?rev=136016&view=rev
Log:
Rename the parameter for the end-of-list test function from end_of_list to end_of_list_test.

Modified:
    lldb/trunk/scripts/Python/modify-python-lldb.py

Modified: lldb/trunk/scripts/Python/modify-python-lldb.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/modify-python-lldb.py?rev=136016&r1=136015&r2=136016&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/modify-python-lldb.py (original)
+++ lldb/trunk/scripts/Python/modify-python-lldb.py Mon Jul 25 18:44:48 2011
@@ -92,7 +92,7 @@
     # ==================================================
     # Iterator for lldb.SBValue treated as a linked list
     # ==================================================
-    def linked_list_iter(self, next_item_name, end_of_list):
+    def linked_list_iter(self, next_item_name, end_of_list_test):
         """Generator adaptor to support iteration for SBValue as a linked list.
 
         linked_list_iter() is a special purpose iterator to treat the SBValue as
@@ -136,7 +136,7 @@
                 yield item
                 # Prepare for the next iteration.
                 item = item.GetChildMemberWithName(next_item_name)
-                if end_of_list(item):
+                if end_of_list_test(item):
                     break
         except:
             # Exception occurred.  Stop the generator.





More information about the lldb-commits mailing list