Use _pretty_list instead of _pretty_print

Fixes bug # 1097088

Change-Id: I403b0509b608e97868160271f61706f6113ab409
This commit is contained in:
daniel-a-nguyen
2013-02-10 16:38:41 -08:00
parent 901d8a0423
commit ac380b92b0

View File

@@ -197,7 +197,7 @@ class VersionCommands(common.AuthedCommandsBase):
def list(self):
"""List all the supported versions"""
self._require('url')
self._pretty_print(self.dbaas.versions.index, self.url)
self._pretty_list(self.dbaas.versions.index, self.url)
COMMANDS = {'auth': common.Auth,