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
65e25143
Commit
65e25143
authored
Apr 16, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert some exception clauses
parent
2f6b7d1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
common/lib/xmodule/xmodule/open_ended_grading_classes/combined_open_ended_modulev1.py
+3
-3
No files found.
common/lib/xmodule/xmodule/open_ended_grading_classes/combined_open_ended_modulev1.py
View file @
65e25143
...
...
@@ -145,7 +145,7 @@ class CombinedOpenEndedV1Module():
grace_period_string
=
self
.
instance_state
.
get
(
'graceperiod'
,
None
)
try
:
self
.
timeinfo
=
TimeInfo
(
due_date
,
grace_period_string
)
except
:
except
Exception
:
log
.
error
(
"Error parsing due date information in location {0}"
.
format
(
location
))
raise
self
.
display_due_date
=
self
.
timeinfo
.
display_due_date
...
...
@@ -363,7 +363,7 @@ class CombinedOpenEndedV1Module():
# if link.startswith(XASSET_SRCREF_PREFIX):
# Placing try except so that if the error is fixed, this code will start working again.
return_html
=
rewrite_links
(
html
,
self
.
rewrite_content_links
)
except
:
except
Exception
:
pass
return
return_html
...
...
@@ -421,7 +421,7 @@ class CombinedOpenEndedV1Module():
last_post_assessment
=
last_post_evaluation
try
:
rubric_data
=
task
.
_parse_score_msg
(
task
.
child_history
[
-
1
]
.
get
(
'post_assessment'
,
""
),
self
.
system
)
except
:
except
Exception
:
log
.
debug
(
"Could not parse rubric data from child history. "
"Likely we have not yet initialized a previous step, so this is perfectly fine."
)
rubric_data
=
{}
...
...
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