Revision 06d7c286
b/snf-astakos-app/astakos/im/management/commands/invitation-details.py | ||
---|---|---|
65 | 65 |
|
66 | 66 |
for key, val in sorted(kv.items()): |
67 | 67 |
line = '%s: %s\n' % (key.rjust(18), val) |
68 |
self.stdout.write(line.encode('utf8')) |
|
68 |
self.stdout.write(line) |
b/snf-astakos-app/astakos/im/management/commands/invitation-list.py | ||
---|---|---|
76 | 76 |
else: |
77 | 77 |
line = ' '.join(f.rjust(w) for f, w in zip(fields, columns)) |
78 | 78 |
|
79 |
self.stdout.write(line.encode('utf8') + '\n') |
|
79 |
self.stdout.write(line + '\n') |
b/snf-astakos-app/astakos/im/management/commands/project-admin-checks.py | ||
---|---|---|
75 | 75 |
|
76 | 76 |
for project in projects: |
77 | 77 |
line = ' '.join(f.rjust(w) for f, w in zip(project, columns)) |
78 |
self.stdout.write(line.encode('utf8') + '\n')
|
|
78 |
self.stdout.write(line + '\n') |
|
79 | 79 |
|
80 | 80 |
if execute: |
81 | 81 |
self.stdout.write('%d projects have been terminated.\n' %(length,)) |
b/snf-astakos-app/astakos/im/management/commands/project-list.py | ||
---|---|---|
89 | 89 |
else: |
90 | 90 |
line = ' '.join(f.rjust(w) for f, w in zip(fields, columns)) |
91 | 91 |
|
92 |
self.stdout.write(line.encode('utf8') + '\n') |
|
92 |
self.stdout.write(line + '\n') |
b/snf-astakos-app/astakos/im/management/commands/project-show.py | ||
---|---|---|
78 | 78 |
def show_info(self, info): |
79 | 79 |
for key, val in info.items(): |
80 | 80 |
line = '%s: %s\n' % (key.rjust(22), val) |
81 |
self.stdout.write(line.encode('utf8'))
|
|
81 |
self.stdout.write(line) |
|
82 | 82 |
self.stdout.write('\n') |
83 | 83 |
|
84 | 84 |
|
b/snf-astakos-app/astakos/im/management/commands/resource-list.py | ||
---|---|---|
69 | 69 |
else: |
70 | 70 |
line = ' '.join(f.rjust(w) for f, w in zip(fields, columns)) |
71 | 71 |
|
72 |
self.stdout.write(line.encode('utf8') + '\n') |
|
72 |
self.stdout.write(line + '\n') |
b/snf-astakos-app/astakos/im/management/commands/service-list.py | ||
---|---|---|
72 | 72 |
else: |
73 | 73 |
line = ' '.join(f.rjust(w) for f, w in zip(fields, columns)) |
74 | 74 |
|
75 |
self.stdout.write(line.encode('utf8') + '\n') |
|
75 |
self.stdout.write(line + '\n') |
b/snf-astakos-app/astakos/im/management/commands/user-list.py | ||
---|---|---|
92 | 92 |
else: |
93 | 93 |
line = ' '.join(f.rjust(w) for f, w in zip(fields, columns)) |
94 | 94 |
|
95 |
self.stdout.write(line.encode('utf8') + '\n') |
|
95 |
self.stdout.write(line + '\n') |
Also available in: Unified diff