Fixup! run isort

This commit is contained in:
Troy Sankey
2017-11-06 13:49:51 -05:00
parent d6bd4dc43f
commit 9567649d20
7 changed files with 4 additions and 11 deletions

View File

@@ -2,7 +2,6 @@ from __future__ import print_function
from django.contrib.auth.models import User
from django.core.management.base import BaseCommand
from django_comment_common.models import Role

View File

@@ -7,7 +7,6 @@ Enrollments.
from __future__ import print_function
from django.core.management.base import BaseCommand
from django_comment_common.models import assign_default_role_on_enrollment
from student.models import CourseEnrollment

View File

@@ -7,7 +7,6 @@ Enrollments.
from __future__ import print_function
from django.core.management.base import BaseCommand
from django_comment_common.models import assign_default_role_on_enrollment
from student.models import CourseEnrollment

View File

@@ -1,8 +1,7 @@
from courseware.courses import get_course
from django.core.management.base import BaseCommand, CommandError
from opaque_keys.edx.keys import CourseKey
from courseware.courses import get_course
class Command(BaseCommand):
help = 'Write a discussion link for a given course on standard output.'

View File

@@ -3,11 +3,10 @@ Reload forum (comment client) users from existing users.
"""
from __future__ import print_function
import lms.lib.comment_client as cc
from django.contrib.auth.models import User
from django.core.management.base import BaseCommand
import lms.lib.comment_client as cc
class Command(BaseCommand):
help = 'Reload forum (comment client) users from existing users.'

View File

@@ -2,9 +2,8 @@
Management command to seed default permissions and roles.
"""
from django.core.management.base import BaseCommand
from opaque_keys.edx.keys import CourseKey
from django_comment_common.utils import seed_permissions_roles
from opaque_keys.edx.keys import CourseKey
class Command(BaseCommand):

View File

@@ -3,11 +3,10 @@ One-off script to sync all user information to the
discussion service (later info will be synced automatically)
"""
import lms.lib.comment_client as cc
from django.contrib.auth.models import User
from django.core.management.base import BaseCommand
import lms.lib.comment_client as cc
class Command(BaseCommand):
"""