Rename the parameter for the end-of-list test function from end_of_list to end_of_list_test.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136016 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/modify-python-lldb.py b/scripts/Python/modify-python-lldb.py
index 0a0ad24..6f211b2 100644
--- a/scripts/Python/modify-python-lldb.py
+++ b/scripts/Python/modify-python-lldb.py
@@ -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.