Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
645d847b
Commit
645d847b
authored
Jun 19, 2013
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused imports from cms, as detected by pylint.
parent
61b53713
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
6 deletions
+5
-6
cms/djangoapps/contentstore/tests/test_item.py
+0
-1
cms/djangoapps/models/settings/course_metadata.py
+0
-1
cms/envs/common.py
+2
-2
cms/envs/dev_ike.py
+0
-2
cms/urls.py
+3
-0
No files found.
cms/djangoapps/contentstore/tests/test_item.py
View file @
645d847b
from
contentstore.utils
import
get_modulestore
,
get_url_reverse
from
contentstore.tests.test_course_settings
import
CourseTestCase
from
xmodule.modulestore.tests.factories
import
CourseFactory
from
django.core.urlresolvers
import
reverse
...
...
cms/djangoapps/models/settings/course_metadata.py
View file @
645d847b
from
xmodule.modulestore
import
Location
from
contentstore.utils
import
get_modulestore
from
xmodule.x_module
import
XModuleDescriptor
from
xmodule.modulestore.inheritance
import
own_metadata
from
xblock.core
import
Scope
from
xmodule.course_module
import
CourseDescriptor
...
...
cms/envs/common.py
View file @
645d847b
...
...
@@ -21,7 +21,7 @@ Longer TODO:
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=W0401, W0614
# pylint: disable=W0401, W061
1, W061
4
import
sys
import
lms.envs.common
...
...
@@ -155,7 +155,7 @@ MIDDLEWARE_CLASSES = (
############################ SIGNAL HANDLERS ################################
# This is imported to register the exception signal handling that logs exceptions
import
monitoring.exceptions
# noqa
import
monitoring.exceptions
# noqa
# pylint: disable=W0611
############################ DJANGO_BUILTINS ################################
# Change DEBUG/TEMPLATE_DEBUG in your environment settings files, not here
...
...
cms/envs/dev_ike.py
View file @
645d847b
...
...
@@ -7,9 +7,7 @@
# FORCE_SCRIPT_NAME = '/cms'
from
.common
import
*
from
logsettings
import
get_logger_config
from
.dev
import
*
import
socket
MITX_FEATURES
[
'AUTH_USE_MIT_CERTIFICATES'
]
=
True
...
...
cms/urls.py
View file @
645d847b
from
django.conf
import
settings
from
django.conf.urls
import
patterns
,
include
,
url
# Import this file so it can do its work, even though we don't use the name.
# pylint: disable=W0611
from
.
import
one_time_startup
# Uncomment the next two lines to enable the admin:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment