Rename delete to remove

issue3346
review1045002
This commit is contained in:
Albert Cervera i Areny committed 2013-08-30 07:54:23 +02:00
1 parent 9389cf6bcc
commit 02b96baab5
1 file changed
+1 -1
+1 -1
View File
@@ -131,7 +131,7 @@ class User:
if password and con.simple_bind_s(dn, password):
user_id, _, _ = cls._get_login(login)
if user_id:
LoginAttempt.delete(login)
LoginAttempt.remove(login)
return user_id
elif connection.auth_create_user:
user, = cls.create([{