From ceb2e35718d41100c21338ea6d774eefe9f088d5 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 10:45:24 +0100 Subject: bad exception --- meetingtools/apps/room/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meetingtools/apps/room/views.py b/meetingtools/apps/room/views.py index a790bc5..3b60055 100644 --- a/meetingtools/apps/room/views.py +++ b/meetingtools/apps/room/views.py @@ -28,7 +28,7 @@ def _acc_for_user(user): for regex in acc.domain_match.split(): if re.match(regex,domain): return acc - raise "I don't know which cluster you belong to..." + raise Exception,"I don't know which cluster you belong to..." def _user_meeting_folder(request,acc): if not session(request,'my_meetings_sco_id'): -- cgit v1.1