You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to learning...@googlegroups.com
Here's my solution. I rewrote the recurse function a little bit. I think it makes the code a little neater if I do an extra level of recursion and put all the stop cases at the beginning of the function. Also, to make validation easier I reconstruct original map from my list of groups.
There might be errors, I haven't tested it that much.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to learning...@googlegroups.com
Oh, one thing I found interesting that others might have an answer for is I wanted to flatten the group list so I could print out the patch map as seen in the patch.txt file. So I originally did the following:
flat_list = [] for g in group_list: flat_list.append(g)
which of course didn't work, it just recreated the original contents of the group_list. I hunted around for an operator in the list object (by examining the output of dir(flat_list) but couldn't find anything. I looked on the web and found I could use the '+' operator to flatten the list by:
flat_list = [] for g in group_list: flat_list += g
Now my question is what is
the '+' operator in this context? I would think it would behave like the append method.