diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-03-27 10:10:08 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-03-27 10:10:08 -0400 |
commit | b4cf5bbafdda1b8f8fb4f51e6c961ffbbfe992d1 (patch) | |
tree | eb8731a6c56a1c8766d5b6bc3e75ce90cc998db3 /packages/management/commands | |
parent | db0519771d3a3a977439f905c281274630e0f607 (diff) |
Pull references to Arch Linux in code into BRANDING_ variables in settings
This does not include templates
Diffstat (limited to 'packages/management/commands')
-rw-r--r-- | packages/management/commands/signoff_report.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/management/commands/signoff_report.py b/packages/management/commands/signoff_report.py index ddf930db..498bb533 100644 --- a/packages/management/commands/signoff_report.py +++ b/packages/management/commands/signoff_report.py @@ -8,6 +8,7 @@ repository. Usage: ./manage.py signoff_report <email> <repository> """ +from django.conf import settings from django.core.mail import send_mail from django.core.urlresolvers import reverse from django.core.management.base import BaseCommand, CommandError @@ -120,7 +121,7 @@ def generate_report(email, repo_name): 'old_days': old_days, 'leaders': leaders, }) - from_addr = 'Arch Website Notification <nobody@archlinux.org>' + from_addr = settings.BRANDING_EMAIL send_mail(subject, t.render(c), from_addr, [email]) # vim: set ts=4 sw=4 et: |