Revision 4220c336 snf-cyclades-app/synnefo/quotas/management/commands/reconcile-resources-cyclades.py
b/snf-cyclades-app/synnefo/quotas/management/commands/reconcile-resources-cyclades.py | ||
---|---|---|
65 | 65 |
) |
66 | 66 |
|
67 | 67 |
def handle(self, *args, **options): |
68 |
write = self.stdout.write
|
|
68 |
write = self.stderr.write
|
|
69 | 69 |
userid = options['userid'] |
70 | 70 |
|
71 | 71 |
# Get holdings from Cyclades DB |
... | ... | |
117 | 117 |
|
118 | 118 |
headers = ("User", "Resource", "Database", "Quotaholder") |
119 | 119 |
if unsynced: |
120 |
pprint_table(self.stderr, unsynced, headers)
|
|
120 |
pprint_table(self.stdout, unsynced, headers)
|
|
121 | 121 |
if options["fix"]: |
122 | 122 |
qh = quotas.Quotaholder.get() |
123 | 123 |
request = {} |
Also available in: Unified diff