diff --git a/nsupdate/management/commands/users.py b/nsupdate/management/commands/users.py index 9ed1c60..294b76c 100644 --- a/nsupdate/management/commands/users.py +++ b/nsupdate/management/commands/users.py @@ -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: