From cee2f6cba3ab566fc4b65a40953353db84c5e4e9 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 3 Jan 2016 17:14:53 -0600 Subject: [PATCH] rouse: client: Update for host list API change --- src/rouse/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rouse/client.py b/src/rouse/client.py index 92947fe..d42dc44 100644 --- a/src/rouse/client.py +++ b/src/rouse/client.py @@ -93,7 +93,7 @@ class Host(host.Host): @classmethod def find(cls, rouse, **keywords): - for item in rouse.get('/', **keywords): + for item in rouse.get('/', **keywords)['hosts']: host = cls.from_dict(item) host.rouse = rouse yield host