Skip to content

Commit fb4bd96

Browse files
committed
Tweaked the email activation migration slightly.
- Legacy-Id: 9172
1 parent 5f86b73 commit fb4bd96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/person/migrations/0004_auto_20150308_0440.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848

4949
def activate_draft_email(apps, schema_editor):
5050
Document = apps.get_model("doc", "Document")
51-
print("\nSetting email addresses to active ...")
5251
change_count = 0
5352
notify_user_count = 0
5453
for doc in Document.objects.filter(type__slug='draft', states__slug='active').order_by('-time'):
@@ -80,6 +79,7 @@ def activate_draft_email(apps, schema_editor):
8079
txt= email_template % context,
8180
extra={"Reply-To": "Secretariat <ietf-action@ietf.org>"},
8281
)
82+
print("")
8383
print("Set %s email addresses to active" % change_count)
8484
print("Notified %s users, who had at least one other active email." % notify_user_count)
8585

0 commit comments

Comments
 (0)