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
b7313d6d
Commit
b7313d6d
authored
Sep 19, 2014
by
lduarte1991
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Annotation Tools: Pylint Fix left over from previous PR
parent
56340968
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
common/lib/xmodule/xmodule/imageannotation_module.py
+1
-1
common/lib/xmodule/xmodule/textannotation_module.py
+1
-1
common/lib/xmodule/xmodule/videoannotation_module.py
+1
-1
No files found.
common/lib/xmodule/xmodule/imageannotation_module.py
View file @
b7313d6d
...
...
@@ -115,7 +115,7 @@ class ImageAnnotationModule(AnnotatableFields, XModule):
if
self
.
runtime
.
get_real_user
is
not
None
:
try
:
self
.
user_email
=
self
.
runtime
.
get_real_user
(
self
.
runtime
.
anonymous_student_id
)
.
email
except
:
# pylint: disable=broad-except
except
Exception
:
# pylint: disable=broad-except
self
.
user_email
=
_
(
"No email address found."
)
def
_extract_instructions
(
self
,
xmltree
):
...
...
common/lib/xmodule/xmodule/textannotation_module.py
View file @
b7313d6d
...
...
@@ -109,7 +109,7 @@ class TextAnnotationModule(AnnotatableFields, XModule):
if
self
.
runtime
.
get_real_user
is
not
None
:
try
:
self
.
user_email
=
self
.
runtime
.
get_real_user
(
self
.
runtime
.
anonymous_student_id
)
.
email
except
:
# pylint: disable=broad-except
except
Exception
:
# pylint: disable=broad-except
self
.
user_email
=
_
(
"No email address found."
)
def
_extract_instructions
(
self
,
xmltree
):
...
...
common/lib/xmodule/xmodule/videoannotation_module.py
View file @
b7313d6d
...
...
@@ -109,7 +109,7 @@ class VideoAnnotationModule(AnnotatableFields, XModule):
if
self
.
runtime
.
get_real_user
is
not
None
:
try
:
self
.
user_email
=
self
.
runtime
.
get_real_user
(
self
.
runtime
.
anonymous_student_id
)
.
email
except
:
# pylint: disable=broad-except
except
Exception
:
# pylint: disable=broad-except
self
.
user_email
=
_
(
"No email address found."
)
def
_extract_instructions
(
self
,
xmltree
):
...
...
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