Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Boeing OpenEdX Data Pipeline
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CS 5934 Team 2 (Blacksburg)
Boeing OpenEdX Data Pipeline
Commits
612c7f3a
Commit
612c7f3a
authored
1 year ago
by
Sydney May
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-regex-quiz-ids' into 'main'
Fix regex for quiz ids See merge request
!10
parents
d2583a87
93ca5920
1 merge request
!10
Fix regex for quiz ids
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service/pipeline.py
+1
-1
1 addition, 1 deletion
service/pipeline.py
with
1 addition
and
1 deletion
service/pipeline.py
+
1
−
1
View file @
612c7f3a
...
@@ -60,7 +60,7 @@ while True:
...
@@ -60,7 +60,7 @@ while True:
# Get module IDs of quiz questions
# Get module IDs of quiz questions
quiz_questions_matches
=
findall
(
quiz_questions_matches
=
findall
(
"'
fields
'
: {[^_]+_name
'
:
'
.*[q|Q]uiz.*
'
,\s+
'
xml_attributes
'
: [^}]+}}
"
,
"'
fields
'
: {
\s+
'
children
'
: \[\s+\[\s+
'
html
'
,
[^_]+_name
'
:
'
.*[q|Q]uiz.*
'
,\s+
'
xml_attributes
'
: [^}]+}}
"
,
formatted_document
formatted_document
)
)
question_id_to_quiz_id
=
{}
question_id_to_quiz_id
=
{}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment