Revision 4220c336 snf-astakos-app/astakos/im/management/commands/reconcile-resources-astakos.py
b/snf-astakos-app/astakos/im/management/commands/reconcile-resources-astakos.py | ||
---|---|---|
69 | 69 |
|
70 | 70 |
@transaction.commit_on_success |
71 | 71 |
def handle(self, *args, **options): |
72 |
write = self.stdout.write
|
|
72 |
write = self.stderr.write
|
|
73 | 73 |
force = options['force'] |
74 | 74 |
userid = options['userid'] |
75 | 75 |
|
... | ... | |
130 | 130 |
|
131 | 131 |
headers = ("User", "Resource", "Astakos", "Quotaholder") |
132 | 132 |
if unsynced: |
133 |
pprint_table(self.stderr, unsynced, headers)
|
|
133 |
pprint_table(self.stdout, unsynced, headers)
|
|
134 | 134 |
if options["fix"]: |
135 | 135 |
provisions = map(create_provision, unsynced) |
136 | 136 |
try: |
Also available in: Unified diff