allow subclasses to override disable-failed logging

This commit is contained in:
Darren Ranalli 2005-12-17 01:48:51 +00:00
parent 58484fd621
commit 24cfaaea3f

View File

@ -430,10 +430,13 @@ class ClientRepository(ConnectionRepository):
else:
distObj.deleteOrDelay()
else:
ClientRepository.notify.warning(
"Disable failed. DistObj "
+ str(doId) +
" is not in dictionary, ownerView=%s" % ownerView)
self._logFailedDisable(doId, ownerView)
def _logFailedDisable(self, doId, ownerView):
ClientRepository.notify.warning(
"Disable failed. DistObj "
+ str(doId) +
" is not in dictionary, ownerView=%s" % ownerView)
def handleDelete(self, di):
# overridden by ToontownClientRepository