Skip to content
Snippets Groups Projects
Commit 633b9f70 authored by Jawayria's avatar Jawayria
Browse files

resolved errors

parent 45e5cbb5
No related branches found
No related tags found
No related merge requests found
<<<<<<< HEAD
# lint-amnesty, pylint: disable=missing-module-docstring
=======
# lint-amnesty, pylint: disable=missing-module-docstring
>>>>>>> Applied pylint-amnesty to student
from django.contrib.auth.models import Group, User # lint-amnesty, pylint: disable=imported-auth-user
from django.core.management.base import BaseCommand, CommandError
......
......@@ -71,7 +71,6 @@ def _send_activation_email(self, msg_string, from_address=None):
dest_addr,
)
raise Exception # lint-amnesty, pylint: disable=raise-missing-from
<<<<<<< HEAD
_OLD_TASK_NAME = 'student.send_activation_email'
......@@ -84,5 +83,3 @@ _NEW_TASK_NAME = 'common.djangoapps.student.tasks.send_activation_email'
# set `send_activation_email` to the new-named task.
send_activation_email = shared_task(bind=True, name=_OLD_TASK_NAME)(_send_activation_email)
shared_task(bind=True, name=_NEW_TASK_NAME)(_send_activation_email)
=======
>>>>>>> Applied pylint-amnesty to student
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment