From 6b289b750a75b45ac44358a80ee73b472190d000 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sun, 14 Mar 2010 10:56:58 +0000 Subject: [PATCH] Fixed typo causing stacktrace --- sso/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sso/forms.py b/sso/forms.py index df3088a..079c93c 100644 --- a/sso/forms.py +++ b/sso/forms.py @@ -39,7 +39,7 @@ def UserServiceAccountForm(user): def clean(self): if not self.cleaned_data['character'].corporation.group in self.cleaned_data['service'].groups.all(): - raise form.ValidationError("%s is not in a corporation allowed to access %s" % (self.cleaned_data['character'].name, self.cleaned_data['service'])) + raise forms.ValidationError("%s is not in a corporation allowed to access %s" % (self.cleaned_data['character'].name, self.cleaned_data['service'])) return self.cleaned_data