From d9ccaacee5665115cbc43d483b2a7685ec7eb98c Mon Sep 17 00:00:00 2001 From: Garret Wassermann Date: Mon, 4 Feb 2019 11:29:17 -0500 Subject: [PATCH] Fix typo in __setattr__ in migrations, for #712 --- helpdesk/migrations/0020_depickle_user_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/migrations/0020_depickle_user_settings.py b/helpdesk/migrations/0020_depickle_user_settings.py index d5a550a1..4315c8fd 100644 --- a/helpdesk/migrations/0020_depickle_user_settings.py +++ b/helpdesk/migrations/0020_depickle_user_settings.py @@ -24,7 +24,7 @@ def move_old_values(apps, schema_editor): if user_settings.settings_pickled: settings_dict = unpickle_settings(user_settings.settings_pickled) for setting, value in settings_dict.items(): - user_settings.__set_attr__(setting, value) + user_settings.__setattr__(setting, value) class Migration(migrations.Migration):