Exemple #1
0
 def __init__(self, name, log=True):
     gr = GarbageReport.GarbageReport("ObjectReport's GarbageReport: %s" % name, log=log)
     gr.destroy()
     del gr
     self._name = name
     self._pool = ObjectPool.ObjectPool(self._getObjectList())
     if log:
         self.notify.info("===== ObjectReport: '%s' =====\n%s" % (self._name, self.typeFreqStr()))
Exemple #2
0
 def __init__(self, name, log=True):
     gr = GarbageReport.GarbageReport('ObjectReport\'s GarbageReport: %s' % name, log=log)
     gr.destroy()
     del gr
     self._name = name
     self._pool = ObjectPool.ObjectPool(self._getObjectList())
     #ExclusiveObjectPool.addExclObjs(self, self._pool, self._name)
     if log:
         self.notify.info('===== ObjectReport: \'%s\' =====\n%s' % (self._name, self.typeFreqStr()))