From 882b28b7bf327d701bd6686c8efcbc921fa49ec4 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Mon, 25 Jul 2011 23:44:48 +0000 Subject: Rename the parameter for the end-of-list test function from end_of_list to end_of_list_test. llvm-svn: 136016 --- lldb/scripts/Python/modify-python-lldb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/scripts/Python/modify-python-lldb.py') diff --git a/lldb/scripts/Python/modify-python-lldb.py b/lldb/scripts/Python/modify-python-lldb.py index 0a0ad24..6f211b2 100644 --- a/lldb/scripts/Python/modify-python-lldb.py +++ b/lldb/scripts/Python/modify-python-lldb.py @@ -92,7 +92,7 @@ linked_list_iter_def = ''' # ================================================== # 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 @@ linked_list_iter_def = ''' 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. -- cgit v1.1