From 0b21c5d6b7df63aa138bea9fe9b3591f546fd4bc Mon Sep 17 00:00:00 2001 From: Ed Cranford Date: Mon, 4 Jun 2012 10:39:48 -0500 Subject: [PATCH] Small bugfix, now iterates over users.links like dbs and instances. --- reddwarfclient/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reddwarfclient/cli.py b/reddwarfclient/cli.py index 03fa845f..941dbed2 100644 --- a/reddwarfclient/cli.py +++ b/reddwarfclient/cli.py @@ -213,8 +213,8 @@ class UserCommands(object): users = dbaas.users.list(id, limit, marker) for user in users: _pretty_print(user._info) - if users.next: - for link in users.next: + if users.links: + for link in users.links: _pretty_print(link) except: print sys.exc_info()[1]