projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e429a9
)
Retrives dict values in order to populate ML, as php might give a dict instead of...
author
Stéphane Jacob
<sj@m4x.org>
Sat, 22 Oct 2011 22:21:50 +0000
(
00:21
+0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sat, 22 Oct 2011 22:21:50 +0000
(
00:21
+0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
bin/lists.rpc.py
patch
|
blob
|
blame
|
history
diff --git
a/bin/lists.rpc.py
b/bin/lists.rpc.py
index
61aac8f
..
780b293
100755
(executable)
--- a/
bin/lists.rpc.py
+++ b/
bin/lists.rpc.py
@@
-467,6
+467,8
@@
def mass_subscribe(userdesc, perms, mlist, users):
@edit
@admin
"""
+ if isinstance(users, dict):
+ users = users.values()
if not isinstance(users, list):
raise Exception("userlist must be a list")
members = mlist.getRegularMemberKeys()