Skip to content

Commit a5be71f

Browse files
committed
"Nobody puts stable versions in a corner" - Patrick Swayze
1 parent fbc048b commit a5be71f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

readthedocs/projects/tasks.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -428,12 +428,8 @@ def build_docs_class(self, builder_class):
428428
return success
429429

430430
def send_notifications(self):
431-
"""Send notifications on build failure
432-
433-
Don't send failure notices on ``stable`` version builds.
434-
"""
435-
if self.version.slug != STABLE:
436-
send_notifications.delay(self.version.pk, build_pk=self.build['id'])
431+
"""Send notifications on build failure"""
432+
send_notifications.delay(self.version.pk, build_pk=self.build['id'])
437433

438434

439435
update_docs = celery_app.tasks[UpdateDocsTask.name]

0 commit comments

Comments
 (0)