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
342472e4
Commit
342472e4
authored
Oct 21, 2014
by
Stephen Sanchez
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5666 from edx/bug/runtime_resource_fs
Temporary fix for runtime.resources_fs error
parents
1e82c542
f95ecea9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
lms/lib/xblock/runtime.py
+8
-0
No files found.
lms/lib/xblock/runtime.py
View file @
342472e4
...
...
@@ -196,3 +196,11 @@ class LmsModuleSystem(LmsHandlerUrls, ModuleSystem): # pylint: disable=abstract
)
services
[
'fs'
]
=
xblock
.
reference
.
plugins
.
FSService
()
super
(
LmsModuleSystem
,
self
)
.
__init__
(
**
kwargs
)
# backward compatibility fix for callers not knowing this is a ModuleSystem v DescriptorSystem
@property
def
resources_fs
(
self
):
"""
Return what would be the resources_fs on a DescriptorSystem
"""
return
getattr
(
self
,
'filestore'
,
None
)
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