Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(64)

Issue 12862044: Fix missing locale and email in determining subscribers (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by ana.balica
Modified:
10 years, 8 months ago
Reviewers:
thomas.j.waldmann
Visibility:
Public.

Description

Fix missing locale and email in determining subscribers

Patch Set 1 #

Total comments: 3

Patch Set 2 : Get locale in a better way #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -14 lines) Patch
M MoinMoin/constants/keys.py View 1 chunk +3 lines, -0 lines 0 comments Download
M MoinMoin/util/_tests/test_subscriptions.py View 2 chunks +19 lines, -9 lines 0 comments Download
M MoinMoin/util/subscriptions.py View 1 2 2 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 3
Thomas.J.Waldmann
https://codereview.appspot.com/12862044/diff/1/MoinMoin/constants/keys.py File MoinMoin/constants/keys.py (right): https://codereview.appspot.com/12862044/diff/1/MoinMoin/constants/keys.py#newcode130 MoinMoin/constants/keys.py:130: DEFAULT_LOCALE = u"en" is this enough as locale? don't ...
10 years, 8 months ago (2013-08-27 15:18:07 UTC) #1
ana.balica
https://codereview.appspot.com/12862044/diff/1/MoinMoin/constants/keys.py File MoinMoin/constants/keys.py (right): https://codereview.appspot.com/12862044/diff/1/MoinMoin/constants/keys.py#newcode130 MoinMoin/constants/keys.py:130: DEFAULT_LOCALE = u"en" On 2013/08/27 15:18:07, Thomas.J.Waldmann wrote: > ...
10 years, 8 months ago (2013-08-27 16:28:50 UTC) #2
Thomas.J.Waldmann
10 years, 8 months ago (2013-08-27 16:37:05 UTC) #3
https://codereview.appspot.com/12862044/diff/7001/MoinMoin/util/subscriptions.py
File MoinMoin/util/subscriptions.py (right):

https://codereview.appspot.com/12862044/diff/7001/MoinMoin/util/subscriptions...
MoinMoin/util/subscriptions.py:53: subscribers.add(Subscriber(user[ITEMID],
user[NAME][0], email, locale))
well, it's only a minor thing, but maybe more elegant:

email = user.get(EMAIL)
if email:
    locale = user.get(....)
    subscribers.add(....)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b