From cd0eb27dc7439323f1abb685c6571f72542c842b Mon Sep 17 00:00:00 2001 From: "Erica M. (\"Loonatic\")" Date: Sat, 25 Feb 2023 04:22:47 -0600 Subject: [PATCH] NotifyPanel: Rename variable that shadows builtin (#1470) --- direct/src/tkpanels/NotifyPanel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/src/tkpanels/NotifyPanel.py b/direct/src/tkpanels/NotifyPanel.py index 9edba2358f..7cc8732804 100644 --- a/direct/src/tkpanels/NotifyPanel.py +++ b/direct/src/tkpanels/NotifyPanel.py @@ -128,12 +128,12 @@ class NotifyPanel: topCategory = Notify.ptr().getTopCategory() return self._getPandaCategories(topCategory) - def _getPandaCategoriesAsList(self, pc, list): + def _getPandaCategoriesAsList(self, pc, catList): for item in pc: if isinstance(item, list): - self._getPandaCategoriesAsList(item, list) + self._getPandaCategoriesAsList(item, catList) else: - list.append(item) + catList.append(item) def getPandaCategoriesAsList(self): pc = self.getPandaCategories()