88
85
# resource. Others we can drop. Since we're mutating the dictionary,
89
86
# we need to make a copy of the keys. When you port this to Python 3,
90
87
# you'll need to list()-ify the .keys() dictionary view.
92
89
if key in ('_mod_subject', '_mod_hold_date', '_mod_reason',
93
90
'_mod_sender', '_mod_message_id'):
94
91
resource[key[5:]] = resource.pop(key)