summaryrefslogtreecommitdiff
path: root/Mailman/database/model/user.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-06-10 19:14:10 -0400
committerBarry Warsaw2007-06-10 19:14:10 -0400
commit2551bc7cac27c268bbfb05b735e223cad02d5c27 (patch)
tree2384ff5290ad9dde90d47b30a2f134905b913253 /Mailman/database/model/user.py
parent5bc4941f0b749830d5e4feb57be5f172e77e0631 (diff)
downloadmailman-2551bc7cac27c268bbfb05b735e223cad02d5c27.tar.gz
mailman-2551bc7cac27c268bbfb05b735e223cad02d5c27.tar.zst
mailman-2551bc7cac27c268bbfb05b735e223cad02d5c27.zip
Diffstat (limited to 'Mailman/database/model/user.py')
-rw-r--r--Mailman/database/model/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/database/model/user.py b/Mailman/database/model/user.py
index 06fb1f6f3..45fcbfdd3 100644
--- a/Mailman/database/model/user.py
+++ b/Mailman/database/model/user.py
@@ -55,5 +55,5 @@ class User(Entity):
self.addresses.remove(address)
def controls(self, address):
- found = Address.get_by(address=address.address)
+ found = Address.get_by(address=address)
return bool(found and found.user is self)