Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 0305113317f9e80328b139dce3f45533 > files > 19

python-quantumclient-2.1-1.fc18.src.rpm

From c79c36a5cb8b92e04baf60fccf0eb6a9a73f55bd Mon Sep 17 00:00:00 2001
From: sthakkar <sthakkar@vmware.com>
Date: Mon, 21 Jan 2013 17:32:28 -0800
Subject: [PATCH] Fix quantum client example

Example references an incorrect method.
list_net() should be list_networks()

Change-Id: Ia1f4e13898964da63cb9c9da75270236aa6587b6
---
 quantumclient/v2_0/client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quantumclient/v2_0/client.py b/quantumclient/v2_0/client.py
index f30f3fd..04be937 100644
--- a/quantumclient/v2_0/client.py
+++ b/quantumclient/v2_0/client.py
@@ -132,7 +132,7 @@ class Client(object):
                                      tenant_name=TENANT_NAME,
                                      auth_url=KEYSTONE_URL)
 
-        >>> nets = quantum.list_nets()
+        >>> nets = quantum.list_networks()
         ...
 
     """