mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
fix up the describe-instances script to work with rhel6 prettytable
This commit is contained in:
@@ -69,7 +69,7 @@ if __name__ == '__main__':
|
||||
net = '%s' % i.ip_address
|
||||
pt.add_row([r.id, i.id, accts[r.owner_id], i.state, net, i.key_name, i.instance_type, start])
|
||||
|
||||
pt.printt(sortby='start', reversesort=True)
|
||||
print pt.get_string(sortby='start', reversesort=True)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user