From 503622c5d2d3a2ff6a776fa947457554ebbc7613 Mon Sep 17 00:00:00 2001 From: arbisoft Date: Thu, 11 Jul 2019 12:59:47 +0500 Subject: [PATCH] Fixing python-modernize issues. --- common/djangoapps/third_party_auth/migrations/0001_initial.py | 2 +- .../third_party_auth/migrations/0005_add_site_field.py | 2 +- .../0006_samlproviderconfig_automatic_refresh_enabled.py | 2 +- .../third_party_auth/migrations/0007_auto_20170406_0912.py | 2 +- .../third_party_auth/migrations/0008_auto_20170413_1455.py | 2 +- .../migrations/0010_add_skip_hinted_login_dialog_field.py | 2 +- .../migrations/0013_sync_learner_profile_data.py | 2 +- .../third_party_auth/migrations/0021_sso_id_verification.py | 2 +- .../third_party_auth/migrations/0023_auto_20190418_2033.py | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/common/djangoapps/third_party_auth/migrations/0001_initial.py b/common/djangoapps/third_party_auth/migrations/0001_initial.py index 1cad33a686..f7e835dd38 100644 --- a/common/djangoapps/third_party_auth/migrations/0001_initial.py +++ b/common/djangoapps/third_party_auth/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals import django.db.models.deletion import provider.utils diff --git a/common/djangoapps/third_party_auth/migrations/0005_add_site_field.py b/common/djangoapps/third_party_auth/migrations/0005_add_site_field.py index 75cdbcec25..ee7ad5f63c 100644 --- a/common/djangoapps/third_party_auth/migrations/0005_add_site_field.py +++ b/common/djangoapps/third_party_auth/migrations/0005_add_site_field.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals from django.conf import settings from django.db import migrations, models diff --git a/common/djangoapps/third_party_auth/migrations/0006_samlproviderconfig_automatic_refresh_enabled.py b/common/djangoapps/third_party_auth/migrations/0006_samlproviderconfig_automatic_refresh_enabled.py index 1a44b112c1..027723d34c 100644 --- a/common/djangoapps/third_party_auth/migrations/0006_samlproviderconfig_automatic_refresh_enabled.py +++ b/common/djangoapps/third_party_auth/migrations/0006_samlproviderconfig_automatic_refresh_enabled.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals from django.db import migrations, models diff --git a/common/djangoapps/third_party_auth/migrations/0007_auto_20170406_0912.py b/common/djangoapps/third_party_auth/migrations/0007_auto_20170406_0912.py index 90a844b783..4ffbb53b8b 100644 --- a/common/djangoapps/third_party_auth/migrations/0007_auto_20170406_0912.py +++ b/common/djangoapps/third_party_auth/migrations/0007_auto_20170406_0912.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals from django.db import migrations, models diff --git a/common/djangoapps/third_party_auth/migrations/0008_auto_20170413_1455.py b/common/djangoapps/third_party_auth/migrations/0008_auto_20170413_1455.py index ee742c1b82..37d615b969 100644 --- a/common/djangoapps/third_party_auth/migrations/0008_auto_20170413_1455.py +++ b/common/djangoapps/third_party_auth/migrations/0008_auto_20170413_1455.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals from django.db import migrations, models diff --git a/common/djangoapps/third_party_auth/migrations/0010_add_skip_hinted_login_dialog_field.py b/common/djangoapps/third_party_auth/migrations/0010_add_skip_hinted_login_dialog_field.py index fe017147d8..ed324e0182 100644 --- a/common/djangoapps/third_party_auth/migrations/0010_add_skip_hinted_login_dialog_field.py +++ b/common/djangoapps/third_party_auth/migrations/0010_add_skip_hinted_login_dialog_field.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals from django.db import migrations, models diff --git a/common/djangoapps/third_party_auth/migrations/0013_sync_learner_profile_data.py b/common/djangoapps/third_party_auth/migrations/0013_sync_learner_profile_data.py index 8c3ae928e5..a233d9a458 100644 --- a/common/djangoapps/third_party_auth/migrations/0013_sync_learner_profile_data.py +++ b/common/djangoapps/third_party_auth/migrations/0013_sync_learner_profile_data.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals from django.db import migrations, models diff --git a/common/djangoapps/third_party_auth/migrations/0021_sso_id_verification.py b/common/djangoapps/third_party_auth/migrations/0021_sso_id_verification.py index d8a26a12f2..0e7c825ba0 100644 --- a/common/djangoapps/third_party_auth/migrations/0021_sso_id_verification.py +++ b/common/djangoapps/third_party_auth/migrations/0021_sso_id_verification.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by Django 1.11.12 on 2018-04-11 15:33 -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals from django.db import migrations, models diff --git a/common/djangoapps/third_party_auth/migrations/0023_auto_20190418_2033.py b/common/djangoapps/third_party_auth/migrations/0023_auto_20190418_2033.py index b46da4eeac..0a54536a1d 100644 --- a/common/djangoapps/third_party_auth/migrations/0023_auto_20190418_2033.py +++ b/common/djangoapps/third_party_auth/migrations/0023_auto_20190418_2033.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-18 20:33 -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals -from django.db import migrations, models import django.db.models.deletion +from django.db import migrations, models class Migration(migrations.Migration):