django-admin.py users: initialize log_msg

This commit is contained in:
Thomas Waldmann 2018-10-01 15:50:48 +02:00
parent 04dcbc8662
commit 80590a646b

View File

@ -77,6 +77,7 @@ class Command(BaseCommand):
print_stats("before")
for u in User.objects.all():
user = "%s <%s>" % (u.username, u.email)
log_msg = None
if stale_check:
log_msg = check_staleness(u)
if log_msg: