Revision 4220c336 snf-astakos-app/astakos/im/management/commands/fix-superusers.py

b/snf-astakos-app/astakos/im/management/commands/fix-superusers.py
49 49
            fixed = fix_superusers()
50 50
            count = len(fixed)
51 51
            if count != 0:
52
                self.stdout.write("Fixed %s superuser(s).\n" % count)
52
                self.stderr.write("Fixed %s superuser(s).\n" % count)
53 53
            else:
54
                self.stdout.write("No superuser needed a fix.\n")
54
                self.stderr.write("No superuser needed a fix.\n")
55 55
        except BaseException, e:
56 56
            raise CommandError(e)

Also available in: Unified diff