From 8b0a26a419365deccb3d60d931e263f334121471 Mon Sep 17 00:00:00 2001 From: Nimisha Asthagiri Date: Thu, 6 Oct 2016 15:58:39 -0400 Subject: [PATCH] Move sync_user_info management command from common to LMS. --- .../management/commands/sync_user_info.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) rename {common/djangoapps/student => lms/djangoapps/django_comment_client}/management/commands/sync_user_info.py (66%) diff --git a/common/djangoapps/student/management/commands/sync_user_info.py b/lms/djangoapps/django_comment_client/management/commands/sync_user_info.py similarity index 66% rename from common/djangoapps/student/management/commands/sync_user_info.py rename to lms/djangoapps/django_comment_client/management/commands/sync_user_info.py index 7d239b2e09..06428cbe59 100644 --- a/common/djangoapps/student/management/commands/sync_user_info.py +++ b/lms/djangoapps/django_comment_client/management/commands/sync_user_info.py @@ -1,6 +1,7 @@ -## -## One-off script to sync all user information to the discussion service (later info will be synced automatically) - +""" +One-off script to sync all user information to the +discussion service (later info will be synced automatically) +""" from django.core.management.base import BaseCommand from django.contrib.auth.models import User @@ -8,6 +9,9 @@ import lms.lib.comment_client as cc class Command(BaseCommand): + """ + Management command for adding all users to the discussion service. + """ help = 'Sync all user ids, usernames, and emails to the discussion service' def handle(self, *args, **options):