diff options
author | Brian Waldon <bcwaldon@gmail.com> | 2012-06-07 14:41:14 -0700 |
---|---|---|
committer | Brian Waldon <bcwaldon@gmail.com> | 2012-06-07 14:41:14 -0700 |
commit | 2822748bc134724c43f327041428557b7bfc3e3a (patch) | |
tree | 8e17215eab68748713c51a0f2d460be6c555ad15 | |
parent | 0935e38113b5db8f2611afd0cff66a1d74a52c0e (diff) | |
download | python-glanceclient-2822748bc134724c43f327041428557b7bfc3e3a.tar.gz |
Stick prettytable at v0.6
Doing this so we can align columns reliably
Change-Id: Ibdbc6f3df08d6f9c45b6e0a0f5a2440ba2637dbd
-rw-r--r-- | glanceclient/common/utils.py | 2 | ||||
-rw-r--r-- | tools/pip-requires | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/glanceclient/common/utils.py b/glanceclient/common/utils.py index 48f6b77..1b79231 100644 --- a/glanceclient/common/utils.py +++ b/glanceclient/common/utils.py @@ -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 = [] diff --git a/tools/pip-requires b/tools/pip-requires index 6a83322..6fa319b 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -1,5 +1,5 @@ argparse httplib2 -prettytable +prettytable==0.6 https://github.com/openstack/python-keystoneclient/zipball/master#egg=python-keystoneclient |