Updated Branches: refs/heads/trunk c3c90ac53 -> a67c8beef
Modify __repr__ method on the Node object to include private IPs. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/25ea8cf0 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/25ea8cf0 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/25ea8cf0 Branch: refs/heads/trunk Commit: 25ea8cf03da3317486f2d8f92d68cd661001c2b4 Parents: c3c90ac Author: Tomaz Muraus <[email protected]> Authored: Mon Jan 13 01:21:48 2014 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Mon Jan 13 01:21:48 2014 +0100 ---------------------------------------------------------------------- libcloud/compute/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/25ea8cf0/libcloud/compute/base.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/base.py b/libcloud/compute/base.py index 1972ba0..5e09650 100644 --- a/libcloud/compute/base.py +++ b/libcloud/compute/base.py @@ -243,9 +243,9 @@ class Node(UuidMixin): def __repr__(self): return (('<Node: uuid=%s, name=%s, state=%s, public_ips=%s, ' - 'provider=%s ...>') + 'private_ips=%s, provider=%s ...>') % (self.uuid, self.name, self.state, self.public_ips, - self.driver.name)) + self.private_ips, self.driver.name)) class NodeSize(UuidMixin):
