diff options
| author | Barry Warsaw | 2016-04-01 16:40:39 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-04-01 16:40:39 -0400 |
| commit | b87447ffe4a20793e22884a99a7f9afe3a803004 (patch) | |
| tree | 332b20714199bc83a9b2d592682e287866ed9a1d /src/mailman/rest/users.py | |
| parent | f7e9e4698bdd4cee39c9eb485296cbbfa32369a9 (diff) | |
| download | mailman-b87447ffe4a20793e22884a99a7f9afe3a803004.tar.gz mailman-b87447ffe4a20793e22884a99a7f9afe3a803004.tar.zst mailman-b87447ffe4a20793e22884a99a7f9afe3a803004.zip | |
Diffstat (limited to 'src/mailman/rest/users.py')
| -rw-r--r-- | src/mailman/rest/users.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/rest/users.py b/src/mailman/rest/users.py index 6ac4462c8..19ebba413 100644 --- a/src/mailman/rest/users.py +++ b/src/mailman/rest/users.py @@ -54,7 +54,7 @@ class ListOfDomainOwners(GetterSetter): def get(self, domain, attribute): assert attribute == 'owner', ( 'Unexpected attribute: {}'.format(attribute)) - def sort_key(owner): # flake8: noqa + def sort_key(owner): # noqa return owner.addresses[0].email return sorted(domain.owners, key=sort_key) |
