Stick prettytable at v0.6
Doing this so we can align columns reliably Change-Id: Ibdbc6f3df08d6f9c45b6e0a0f5a2440ba2637dbd
This commit is contained in:
parent
0935e38113
commit
2822748bc1
|
@ -38,7 +38,7 @@ def pretty_choice_list(l):
|
|||
|
||||
def print_list(objs, fields, formatters={}):
|
||||
pt = prettytable.PrettyTable([f for f in fields], caching=False)
|
||||
pt.aligns = ['l' for f in fields]
|
||||
pt.align = 'l'
|
||||
|
||||
for o in objs:
|
||||
row = []
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
argparse
|
||||
httplib2
|
||||
prettytable
|
||||
prettytable==0.6
|
||||
|
||||
https://github.com/openstack/python-keystoneclient/zipball/master#egg=python-keystoneclient
|
||||
|
|
Loading…
Reference in New Issue