Remove some print debug

This commit is contained in:
Valentin Samir 2015-05-18 02:05:12 +02:00
parent 9112e6e475
commit 937fdbb261

View file

@ -82,8 +82,6 @@ class ServicePattern(models.Model):
raise BadUsername() raise BadUsername()
if self.filter and self.filter.startswith("lambda") and not eval(str(self.filter))(user.username, user.attributs): if self.filter and self.filter.startswith("lambda") and not eval(str(self.filter))(user.username, user.attributs):
raise BadFilter() 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): if self.user_field and not user.attributs.get(self.user_field):
raise UserFieldNotDefined() raise UserFieldNotDefined()
return True return True