Remove some print debug
This commit is contained in:
parent
9112e6e475
commit
937fdbb261
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue