Browse Source

direct: Fix some NameErrors

Squashed merge of GitHub PR #273
Michael Wass 7 years ago
parent
commit
89799bc024
2 changed files with 0 additions and 10 deletions
  1. 0 1
      direct/src/interval/MetaInterval.py
  2. 0 9
      direct/src/showbase/ObjectPool.py

+ 0 - 1
direct/src/interval/MetaInterval.py

@@ -342,7 +342,6 @@ class MetaInterval(CMetaInterval):
     # with all of their associated Python callbacks:
 
     def setManager(self, manager):
-        rogerroger
         self.__manager = manager
         CMetaInterval.setManager(self, manager)
 

+ 0 - 9
direct/src/showbase/ObjectPool.py

@@ -110,15 +110,6 @@ class ObjectPool:
                 print('TYPE: %s, %s objects' % (repr(typ), len(self._type2objs[typ])))
                 print(getNumberedTypedSortedString(self._type2objs[typ]))
 
-    def containerLenStr(self):
-        s  =   'Object Pool: Container Lengths'
-        s += '\n=============================='
-        lengths = list(self._len2obj.keys())
-        lengths.sort()
-        lengths.reverse()
-        for count in counts:
-            pass
-
     def printReferrers(self, numEach=3):
         """referrers of the first few of each type of object"""
         counts = list(set(self._count2types.keys()))