Ned Batchelder
2a0259095d
Change imports from path to use the stablest name.
...
The old line:
from path import path
produced pylint errors because of the baroque way that path.py defined
"path". We tried to get them to change how they defined it, but they
deleted the name instead: https://github.com/jaraco/path.py/issues/102
(Jason then changed his mind, but this is a better way to use path.py,
it avoids the pylint error at least.)
2015-08-27 12:59:25 -04:00
Sarina Canelake
49f78b4742
Remove logging-not-lazy Pylint violations
2015-07-13 17:34:54 -04:00
Ned Batchelder
f396c11579
Fix unidiomatic type checking
2015-03-20 15:48:54 -04:00
stv
181eed241f
Silence unrelated warnings
2015-03-14 13:35:18 -07:00
stv
f03b943b95
Fix Pylint: W0612(unused-variable)
2015-03-13 20:20:05 -07:00
Omar Al-Ithawi
4e733c6e1f
Unicode fixes for log messages and other things
2015-02-04 09:55:44 +02:00
David Baumgold
36e77c7463
Fixing pep8 issues
2014-12-11 13:04:49 -05:00
Sarina Canelake
520935209d
s/pylint: disable=W0402/pylint: disable=deprecated-module/
2014-12-01 11:22:12 -05:00
stv
4d30aedf4e
Fix PEP8: E127 continuation line over-indented
...
for visual indent
2014-11-24 20:46:50 -05:00
stv
aba9b3b96e
Fix PEP8: E124 closing bracket does not match
...
visual indentation
2014-11-24 20:46:44 -05:00
stv
fb9f324f2f
Fix PEP8: E303 too many blank lines
2014-11-10 11:00:14 -08:00
Calen Pennington
cd746bf8e5
Make course ids and usage ids opaque to LMS and Studio [partial commit]
...
This commit adds the non-courseware lms/djangoapps and lms/lib.
These keys are now objects with a limited interface, and the particular
internal representation is managed by the data storage layer (the
modulestore).
For the LMS, there should be no outward-facing changes to the system.
The keys are, for now, a change to internal representation only. For
Studio, the new serialized form of the keys is used in urls, to allow
for further migration in the future.
Co-Author: Andy Armstrong <andya@edx.org >
Co-Author: Christina Roberts <christina@edx.org >
Co-Author: David Baumgold <db@edx.org >
Co-Author: Diana Huang <dkh@edx.org >
Co-Author: Don Mitchell <dmitchell@edx.org >
Co-Author: Julia Hansbrough <julia@edx.org >
Co-Author: Nimisha Asthagiri <nasthagiri@edx.org >
Co-Author: Sarina Canelake <sarina@edx.org >
[LMS-2370]
2014-05-08 12:09:23 -04:00
David Baumgold
e26fc08d2b
Update logging.getLogger() calls to use edx instead of mitx
2013-12-04 15:18:15 -05:00
David Baumgold
b32f2bc170
MITX_ROOT_URL => EDX_ROOT_URL
2013-12-04 12:59:35 -05:00
Ned Batchelder
bbf508ca7b
fix-setattr-and-getattr
2013-09-13 14:44:49 -04:00
Ned Batchelder
e045860cb6
Pylint complains if you use string, even if you use it for what its still meant to be used for.
2013-06-21 16:35:47 -04:00
Ned Batchelder
3eec09b87a
Merge pull request #216 from edx/ned/remove-unused-imports
...
Ned/remove unused imports
2013-06-20 14:15:31 -07:00
Calen Pennington
308fe26b65
Clean up pep8 E128 issues
2013-06-20 09:08:25 -04:00
Ned Batchelder
61b53713d2
Remove unused imports from lms, as detected by pylint.
2013-06-19 16:56:34 -04:00
Don Mitchell
168cb306d3
Move tz_aware into connection config rather than settings.
...
Make django use_tz
2013-06-10 17:16:35 -04:00
ichuang
14899b9066
fix lms migration to be compatible with xblock
2013-03-31 12:35:08 +00:00
Calen Pennington
93db5acc15
Make display_name defaulting explicit
2013-03-08 14:58:09 -05:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
ichuang
2f2e71e0d1
add tracking log entries for modulestore reload
2012-09-09 21:08:31 -04:00
ichuang
ccbbb5a993
commit_id may be specified for modulestore reload - for multi-worker configs
...
also show pid in migration and instructor dashboard views for thread debugging
2012-09-09 19:39:11 -04:00
Kyle Fiedler
8a5e872c8f
Removed a bunch of font tags
2012-09-05 14:24:12 -04:00
ichuang
d56d235fc9
minor change to create_user command, don't fail on kerberos lookup failure
2012-09-04 23:02:51 -04:00
ichuang
cb07b0601e
missing "settings." in line in lms_migration
2012-08-29 22:04:39 -04:00
ichuang
dc52956c28
don't list all users if too many
2012-08-24 14:09:57 -04:00
ichuang
8e7eef24a2
add manage_course_groups command to lms_migration
2012-08-23 13:10:08 -04:00
ichuang
e3ecd22fa0
github IPs in lms.envs.common; made create_user, create_groups,
...
manage_course_groups management commands (in lms_migration)
2012-08-20 18:38:05 -04:00
ichuang
7dd7de9566
add gitreload to lms migration, so it doesn't have to run separately
2012-08-17 15:57:12 +00:00
Victor Shnayder
691744e359
Use .display_name instead of metadata['display_name']
...
* the former does a fallback if metadata['display_name'] isn't set.
2012-08-16 11:37:54 -04:00
ichuang
fb7b48e10a
minor - have migrate also show user when debugging
2012-08-04 10:28:05 -04:00
ichuang
9de6e28180
limit course reload to localhost or user.is_staff
2012-08-03 22:52:48 -04:00
ichuang
10f53d62e3
migration views - see modulestore contents, and force reload of course
2012-08-03 22:38:33 -04:00