rouse: client: Update for host list API change

master
Dustin 2016-01-03 17:14:53 -06:00
parent 3b8f033253
commit cee2f6cba3
1 changed files with 1 additions and 1 deletions

View File

@ -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