added comment about use of makeList in _getMsgName

This commit is contained in:
Darren Ranalli 2007-03-06 01:53:35 +00:00
parent 4494188e36
commit cf20bf4630

View File

@ -83,6 +83,7 @@ class ClientRepositoryBase(ConnectionRepository):
return self.doId2do, self.cache
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]
def sendDisconnect(self):