Commit 5bbd08a2 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

astakos: Print script output to stdout

parent d3d43c85
......@@ -100,13 +100,13 @@ class Command(SynnefoCommand):
reason=SUSPENSION_REASON, fix=fix)
if affected:
verb = "Affected" if fix else "Would affect"
self.stderr.write("%s %s (%s)\n" %
self.stdout.write("%s %s (%s)\n" %
(verb, user.email, user.uuid))
count += 1
if count:
self.stderr.write("Total %s users.\n" % count)
self.stdout.write("Total %s users.\n" % count)
else:
self.stderr.write("No users affected.\n")
self.stdout.write("No users affected.\n")
command = Command()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment