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
eff9c9c9
Commit
eff9c9c9
authored
Oct 19, 2017
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move common attributes into Resolver.__init__
parent
27fd73ac
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
openedx/core/djangoapps/schedules/resolvers.py
+0
-0
openedx/core/djangoapps/schedules/tasks.py
+2
-2
requirements/edx/base.txt
+1
-0
No files found.
openedx/core/djangoapps/schedules/resolvers.py
View file @
eff9c9c9
This diff is collapsed.
Click to expand it.
openedx/core/djangoapps/schedules/tasks.py
View file @
eff9c9c9
...
...
@@ -134,7 +134,7 @@ class ScheduleMessageBaseTask(Task):
def
run
(
self
,
site_id
,
target_day_str
,
day_offset
,
bin_num
,
org_list
,
exclude_orgs
=
False
,
override_recipient_email
=
None
,
):
return
self
.
resolver
(
)
.
schedule_bin
(
return
self
.
resolver
(
self
.
async_send_task
,
Site
.
objects
.
get
(
id
=
site_id
),
deserialize
(
target_day_str
),
...
...
@@ -143,7 +143,7 @@ class ScheduleMessageBaseTask(Task):
org_list
,
exclude_orgs
=
exclude_orgs
,
override_recipient_email
=
override_recipient_email
,
)
)
.
schedule_bin
()
@task
(
ignore_result
=
True
,
routing_key
=
ROUTING_KEY
)
...
...
requirements/edx/base.txt
View file @
eff9c9c9
...
...
@@ -4,6 +4,7 @@
# * @edx/ospr - to check licensing
# * @edx/devops - to check system requirements
attrs==17.2.0
beautifulsoup4==4.1.3
beautifulsoup==3.2.1
bleach==1.4
...
...
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