Python-modernize on edx-platform (350 of 380)

After executing python-modernize and isort, few changes
occurred in import sequence as well as unicode func is
replaced by six.text_type func.

INCR-453
This commit is contained in:
uzairr
2019-07-12 13:43:35 +05:00
parent 2cefd88776
commit 32aa2273ab
2 changed files with 4 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
"""
Badges related signal handlers.
"""
from __future__ import absolute_import
from django.dispatch import receiver
from lms.djangoapps.badges.events.course_meta import award_enrollment_badge

View File

@@ -1,6 +1,8 @@
"""
Email-marketing-related models.
"""
from __future__ import absolute_import
from config_models.models import ConfigurationModel
from django.db import models
from django.utils.translation import ugettext_lazy as _