Commit e7e9a163 by stv

Fix Pylint: W0403(relative-import)

parent 268cb46d
...@@ -2,7 +2,7 @@ import unittest ...@@ -2,7 +2,7 @@ import unittest
import threading import threading
import json import json
import urllib2 import urllib2
from mock_cs_server import MockCommentServiceServer from django_comment_client.tests.mock_cs_server.mock_cs_server import MockCommentServiceServer
from nose.plugins.skip import SkipTest from nose.plugins.skip import SkipTest
......
...@@ -10,7 +10,7 @@ from xmodule.open_ended_grading_classes.grading_service_module import GradingSer ...@@ -10,7 +10,7 @@ from xmodule.open_ended_grading_classes.grading_service_module import GradingSer
import json import json
from student.models import unique_id_for_user from student.models import unique_id_for_user
import open_ended_notifications from open_ended_grading import open_ended_notifications
from xmodule.modulestore.django import modulestore from xmodule.modulestore.django import modulestore
from xmodule.modulestore import search from xmodule.modulestore import search
......
...@@ -12,7 +12,7 @@ django_admin.py celery worker ...@@ -12,7 +12,7 @@ django_admin.py celery worker
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, unused-wildcard-import # pylint: disable=wildcard-import, unused-wildcard-import
from dev import * from lms.envs.dev import *
################################# CELERY ###################################### ################################# CELERY ######################################
......
...@@ -7,7 +7,7 @@ get shared sessions) ...@@ -7,7 +7,7 @@ get shared sessions)
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, unused-wildcard-import # pylint: disable=wildcard-import, unused-wildcard-import
from courses import * from lms.envs.devgroups.courses import *
# Move this to a shared file later: # Move this to a shared file later:
for class_id, db_name in CLASSES_TO_DBS.items(): for class_id, db_name in CLASSES_TO_DBS.items():
......
from .utils import CommentClientRequestError, perform_request from .utils import CommentClientRequestError, perform_request
from .thread import Thread, _url_for_flag_abuse_thread, _url_for_unflag_abuse_thread from .thread import Thread, _url_for_flag_abuse_thread, _url_for_unflag_abuse_thread
import models from lms.lib.comment_client import models
import settings from lms.lib.comment_client import settings
class Comment(models.Model): class Comment(models.Model):
......
"""Provides base Commentable model class""" """Provides base Commentable model class"""
import models from lms.lib.comment_client import models
import settings from lms.lib.comment_client import settings
class Commentable(models.Model): class Commentable(models.Model):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment