mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 14:43:50 -04:00
NotifyPanel: Rename variable that shadows builtin (#1470)
This commit is contained in:
parent
316b8e96eb
commit
cd0eb27dc7
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user