summaryrefslogtreecommitdiff
path: root/novaclient/v2/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'novaclient/v2/shell.py')
-rw-r--r--novaclient/v2/shell.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py
index d8de74e8..773e6ce0 100644
--- a/novaclient/v2/shell.py
+++ b/novaclient/v2/shell.py
@@ -3112,11 +3112,10 @@ def _print_absolute_limits(limits):
limit_list = []
for name in limit_names:
- l = Limit(name,
- used.get(name, "-"),
- max.get(name, "-"),
- other.get(name, "-"))
- limit_list.append(l)
+ limit_list.append(Limit(
+ name, used.get(name, '-'), max.get(name, '-'),
+ other.get(name, '-'),
+ ))
utils.print_list(limit_list, columns)