mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-20 22:20:59 -04:00
allow subclasses to override disable-failed logging
This commit is contained in:
parent
58484fd621
commit
24cfaaea3f
@ -430,10 +430,13 @@ class ClientRepository(ConnectionRepository):
|
|||||||
else:
|
else:
|
||||||
distObj.deleteOrDelay()
|
distObj.deleteOrDelay()
|
||||||
else:
|
else:
|
||||||
ClientRepository.notify.warning(
|
self._logFailedDisable(doId, ownerView)
|
||||||
"Disable failed. DistObj "
|
|
||||||
+ str(doId) +
|
def _logFailedDisable(self, doId, ownerView):
|
||||||
" is not in dictionary, ownerView=%s" % ownerView)
|
ClientRepository.notify.warning(
|
||||||
|
"Disable failed. DistObj "
|
||||||
|
+ str(doId) +
|
||||||
|
" is not in dictionary, ownerView=%s" % ownerView)
|
||||||
|
|
||||||
def handleDelete(self, di):
|
def handleDelete(self, di):
|
||||||
# overridden by ToontownClientRepository
|
# overridden by ToontownClientRepository
|
||||||
|
Loading…
x
Reference in New Issue
Block a user