commit | 9f334c3cd22853b10ad6fda0fe95ff5dfe37e633 | [log] [tgz] |
---|---|---|
author | Matthew Treinish <treinish@linux.vnet.ibm.com> | Tue Feb 18 20:50:44 2014 +0000 |
committer | Matthew Treinish <treinish@linux.vnet.ibm.com> | Tue Feb 18 20:50:44 2014 +0000 |
tree | 223ffee3be601fcfea150785bdef685516503b04 | |
parent | 69303a89d1ad35a76f241d964603fdd1333d5f80 [diff] |
Fix get_versions string parsing During the recent rest client refactor the _parse_resp() method was improved to detect whether there was a single key at the top level and drop it if there was. However the get_versions() method wasn't updated at the same time, this led to the 'versions' being referenced when it was removed from the resp dict. This commit fixes this by removing the reference to versions. Change-Id: I92003bd3f8c63a61a0d078d141e86dea4115bb80