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
e8b336ef
Commit
e8b336ef
authored
Nov 30, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/pylint: disable=E1121/pylint: disable=too-many-function-args/
parent
c904bd70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
common/lib/xmodule/xmodule/static_content.py
+1
-1
No files found.
common/lib/xmodule/xmodule/static_content.py
View file @
e8b336ef
...
...
@@ -171,7 +171,7 @@ def _write_files(output_root, contents, generated_suffix_map=None):
# not_file is included to short-circuit this check, because
# read_md5 depends on the file already existing
write_file
=
not_file
or
output_file
.
read_md5
()
!=
hashlib
.
md5
(
file_content
)
.
digest
()
# pylint: disable=
E1121
write_file
=
not_file
or
output_file
.
read_md5
()
!=
hashlib
.
md5
(
file_content
)
.
digest
()
# pylint: disable=
too-many-function-args
if
write_file
:
LOG
.
debug
(
"Writing
%
s"
,
output_file
)
output_file
.
write_bytes
(
file_content
)
...
...
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