diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-08-10 14:39:47 -0400 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-08-10 14:39:47 -0400 |
commit | 5ad794b6425a08550a7d68f76e201ebfdad13dfc (patch) | |
tree | 2ed371fd872602a366a5b38cb529132b403852ba | |
parent | 7bf15f40e5f75007f7887661408945079026b202 (diff) | |
download | hyperkitty-5ad794b6425a08550a7d68f76e201ebfdad13dfc.tar.gz hyperkitty-5ad794b6425a08550a7d68f76e201ebfdad13dfc.tar.xz hyperkitty-5ad794b6425a08550a7d68f76e201ebfdad13dfc.zip |
Fix the user profile page
-rw-r--r-- | hyperkitty/templatetags/hk_generic.py | 1 | ||||
-rw-r--r-- | hyperkitty/views/accounts.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/hyperkitty/templatetags/hk_generic.py b/hyperkitty/templatetags/hk_generic.py index 4e31a09..de50f9d 100644 --- a/hyperkitty/templatetags/hk_generic.py +++ b/hyperkitty/templatetags/hk_generic.py @@ -67,7 +67,6 @@ def to_date(month, year): @register.filter def strip_page(value): - print repr(value), repr(value)[-2] if not value: return value if value.endswith('/') and value[-3] == '/': diff --git a/hyperkitty/views/accounts.py b/hyperkitty/views/accounts.py index 3106b14..7a18ca9 100644 --- a/hyperkitty/views/accounts.py +++ b/hyperkitty/views/accounts.py @@ -221,11 +221,11 @@ def public_profile(request, user_id): except mailmanclient.MailmanConnectionError: return HttpResponse("Can't connect to Mailman", content_type="text/plain", status=500) + store = get_store(request) fullname = mm_user.display_name if not fullname: fullname = store.get_sender_name(user_id) subscriptions = [] - store = get_store(request) # Subscriptions for mlist_id in mm_user.subscription_list_ids: mlist = client.get_list(mlist_id).fqdn_listname |