changeset 819:9e3641ea648f

core: fixed UnknownGroupError exception in getJidsFromGroup
author Goffi <goffi@goffi.org>
date Thu, 13 Feb 2014 18:50:41 +0100
parents c328bcc4db71
children 462f2052af26
files src/core/xmpp.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/xmpp.py	Mon Feb 10 13:53:46 2014 +0100
+++ b/src/core/xmpp.py	Thu Feb 13 18:50:41 2014 +0100
@@ -280,7 +280,7 @@
         try:
             return self._groups[group]
         except KeyError:
-            return exceptions.UnknownGroupError
+            raise exceptions.UnknownGroupError
 
 
 class SatPresenceProtocol(xmppim.PresenceClientProtocol):