projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Il est plus prudent de renvoyer une copie des préférences linguistiques enregistrées...
[Plinn.git]
/
userlanguages.py
diff --git
a/userlanguages.py
b/userlanguages.py
index
8103d15
..
40fca2a
100644
(file)
--- a/
userlanguages.py
+++ b/
userlanguages.py
@@
-10,5
+10,5
@@
class AuthenticatedUserLanguages(BrowserLanguages):
return super(AuthenticatedUserLanguages, self).getPreferredLanguages()
else :
m = mtool.getAuthenticatedMember()
return super(AuthenticatedUserLanguages, self).getPreferredLanguages()
else :
m = mtool.getAuthenticatedMember()
- userLangs = m.getProperty('preferred_languages', [])
+ userLangs = m.getProperty('preferred_languages', [])
[:]
return userLangs or super(AuthenticatedUserLanguages, self).getPreferredLanguages()
return userLangs or super(AuthenticatedUserLanguages, self).getPreferredLanguages()