mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
added comment about use of makeList in _getMsgName
This commit is contained in:
parent
4494188e36
commit
cf20bf4630
@ -83,6 +83,7 @@ class ClientRepositoryBase(ConnectionRepository):
|
|||||||
return self.doId2do, self.cache
|
return self.doId2do, self.cache
|
||||||
|
|
||||||
def _getMsgName(self, msgId):
|
def _getMsgName(self, msgId):
|
||||||
|
# we might get a list of message names, use the first one
|
||||||
return makeList(MsgId2Names.get(msgId, 'UNKNOWN MESSAGE: %s' % msgId))[0]
|
return makeList(MsgId2Names.get(msgId, 'UNKNOWN MESSAGE: %s' % msgId))[0]
|
||||||
|
|
||||||
def sendDisconnect(self):
|
def sendDisconnect(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user