projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1ca436
)
Il est plus prudent de renvoyer une copie des préférences linguistiques enregistrées...
author
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 7 Oct 2014 12:43:38 +0000
(14:43 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 7 Oct 2014 12:43:38 +0000
(14:43 +0200)
userlanguages.py
patch
|
blob
|
history
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()
- userLangs = m.getProperty('preferred_languages', [])
+ userLangs = m.getProperty('preferred_languages', [])
[:]
return userLangs or super(AuthenticatedUserLanguages, self).getPreferredLanguages()