From 937fdbb261df85d666950fc81b5e3f5520b71351 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Mon, 18 May 2015 02:05:12 +0200 Subject: [PATCH] Remove some print debug --- cas_server/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cas_server/models.py b/cas_server/models.py index 8eae817..12406a4 100644 --- a/cas_server/models.py +++ b/cas_server/models.py @@ -82,8 +82,6 @@ class ServicePattern(models.Model): raise BadUsername() if self.filter and self.filter.startswith("lambda") and not eval(str(self.filter))(user.username, user.attributs): raise BadFilter() - print self.user_field - print user.attributs.get(self.user_field) if self.user_field and not user.attributs.get(self.user_field): raise UserFieldNotDefined() return True