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
a8309d90
Commit
a8309d90
authored
Jul 08, 2012
by
ichuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change "type" to "category" in xml_module.py
parent
e78536f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/lib/xmodule/xmodule/xml_module.py
+2
-2
No files found.
common/lib/xmodule/xmodule/xml_module.py
View file @
a8309d90
...
...
@@ -148,8 +148,8 @@ class XmlDescriptor(XModuleDescriptor):
)
@classmethod
def
_format_filepath
(
cls
,
type
,
name
):
return
'{
type}/{name}.{ext}'
.
format
(
type
=
type
,
name
=
name
,
ext
=
cls
.
filename_extension
)
def
_format_filepath
(
cls
,
category
,
name
):
return
'{
category}/{name}.{ext}'
.
format
(
category
=
category
,
name
=
name
,
ext
=
cls
.
filename_extension
)
def
export_to_xml
(
self
,
resource_fs
):
"""
...
...
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