def _clone_session_coordinator_privs(self, new_event): session_settings_data = session_settings.get_all(self.old_event) session_settings.set_multi( new_event, { 'coordinators_manage_contributions': session_settings_data['coordinators_manage_contributions'], 'coordinators_manage_blocks': session_settings_data['coordinators_manage_blocks'] })
def _clone_session_coordinator_privs(self, new_event): session_settings_data = session_settings.get_all(self.old_event) session_settings.set_multi( new_event, { "coordinators_manage_contributions": session_settings_data["coordinators_manage_contributions"], "coordinators_manage_blocks": session_settings_data["coordinators_manage_blocks"], }, )