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
b80729cd
Commit
b80729cd
authored
Jun 28, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes from pull request 131
parent
09d1f7db
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
common/lib/mitxmako/shortcuts.py
+1
-1
lms/djangoapps/courseware/content_parser.py
+1
-1
lms/djangoapps/courseware/management/commands/check_course.py
+1
-1
No files found.
common/lib/mitxmako/shortcuts.py
View file @
b80729cd
...
...
@@ -14,7 +14,7 @@
import
logging
log
=
logging
.
getLogger
(
"mitx.
common.lib.mitxmako"
)
log
=
logging
.
getLogger
(
"mitx.
"
+
__name__
)
from
django.template
import
Context
from
django.http
import
HttpResponse
...
...
lms/djangoapps/courseware/content_parser.py
View file @
b80729cd
...
...
@@ -223,7 +223,7 @@ def get_module(tree, module, id_tag, module_id, sections_dirname, options):
result_set
=
tree
.
xpath
(
xpath_search
)
if
len
(
result_set
)
<
1
:
# Not found in main tree. Let's look in the section files.
section_list
=
(
s
[:
-
4
]
for
s
in
os
.
listdir
(
sections_dirname
)
if
s
[
-
4
:]
==
'.xml'
)
section_list
=
(
s
[:
-
4
]
for
s
in
os
.
listdir
(
sections_dirname
)
if
s
.
endswith
(
'.xml'
)
)
for
section
in
section_list
:
try
:
s
=
get_section
(
section
,
options
,
sections_dirname
)
...
...
lms/djangoapps/courseware/management/commands/check_course.py
View file @
b80729cd
...
...
@@ -15,7 +15,7 @@ middleware.MakoMiddleware()
def
check_names
(
user
,
course
):
'''
Complain if any problems have alphanumeric names.
Complain if any problems have
non
alphanumeric names.
TODO (vshnayder): there are some in 6.002x that don't. Is that actually a problem?
'''
all_ok
=
True
...
...
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