From a23dc55636c3a65c46ea975f5c5059cdf6da324c Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Mon, 23 Nov 2015 11:28:45 -0800 Subject: [PATCH] Cleaner spam logging. --- apps/profile/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/profile/models.py b/apps/profile/models.py index 0a1df06b2..038c99742 100644 --- a/apps/profile/models.py +++ b/apps/profile/models.py @@ -408,10 +408,10 @@ class Profile(models.Model): has_numbers = numerics.search(user.username) if opens is None and not reads and has_numbers: usernames.add(user.username) - print user.username, user.email, opens, reads + print " ---> Numerics: %-20s %-30s %-6s %-6s" % (user.username, user.email, opens, reads) elif not user.profile.last_seen_ip: usernames.add(user.username) - print " ---> No IP: %s %s %s %s" % (user.username, user.email, opens, reads) + print " ---> No IP: %-20s %-30s %-6s %-6s" % (user.username, user.email, opens, reads) if not confirm: return usernames