comparison src/core/xmpp.py @ 819:9e3641ea648f

core: fixed UnknownGroupError exception in getJidsFromGroup
author Goffi <goffi@goffi.org>
date Thu, 13 Feb 2014 18:50:41 +0100
parents 1fe00f0c9a91
children 19d7d077478a
comparison
equal deleted inserted replaced
818:c328bcc4db71 819:9e3641ea648f
278 278
279 def getJidsFromGroup(self, group): 279 def getJidsFromGroup(self, group):
280 try: 280 try:
281 return self._groups[group] 281 return self._groups[group]
282 except KeyError: 282 except KeyError:
283 return exceptions.UnknownGroupError 283 raise exceptions.UnknownGroupError
284 284
285 285
286 class SatPresenceProtocol(xmppim.PresenceClientProtocol): 286 class SatPresenceProtocol(xmppim.PresenceClientProtocol):
287 287
288 def __init__(self, host): 288 def __init__(self, host):