Removing reddwarf doc references

Change-Id: I5272b50e8899cf23f5d76f5d753f0e893c04666d
This commit is contained in:
Michael Basnight
2013-09-16 08:56:09 -07:00
parent deba3d7686
commit 30851b5b5b
2 changed files with 8 additions and 8 deletions

View File

@@ -1,16 +1,16 @@
PyDocs PyDocs
================= =================
reddwarfclient troveclient
-------------- --------------
.. automodule:: reddwarfclient .. automodule:: troveclient
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
.. autoclass:: reddwarfclient.client.Dbaas .. autoclass:: troveclient.client.Dbaas
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:

View File

@@ -7,8 +7,8 @@ Using the Client Programmatically
# Creates some vars we don't show in the docs. # Creates some vars we don't show in the docs.
AUTH_URL="http://localhost:8779/v1.0/auth" AUTH_URL="http://localhost:8779/v1.0/auth"
from reddwarfclient import Dbaas from troveclient import Dbaas
from reddwarfclient import auth from troveclient import auth
class FakeAuth(auth.Authenticator): class FakeAuth(auth.Authenticator):
def authenticate(self): def authenticate(self):
@@ -25,7 +25,7 @@ Using the Client Programmatically
return FakeCatalog(self) return FakeCatalog(self)
from reddwarfclient import Dbaas from troveclient import Dbaas
OLD_INIT = Dbaas.__init__ OLD_INIT = Dbaas.__init__
def new_init(*args, **kwargs): def new_init(*args, **kwargs):
kwargs['auth_strategy'] = FakeAuth kwargs['auth_strategy'] = FakeAuth
@@ -68,7 +68,7 @@ call to the constructor.
.. testcode:: .. testcode::
from reddwarfclient import Dbaas from troveclient import Dbaas
global AUTH_URL global AUTH_URL
client = Dbaas("jsmith", "abcdef", tenant="12345", client = Dbaas("jsmith", "abcdef", tenant="12345",
@@ -148,7 +148,7 @@ or by using the delete method on "instances."
# Wait for the instance to be ready before we delete it. # Wait for the instance to be ready before we delete it.
import time import time
from reddwarfclient.exceptions import NotFound from troveclient.exceptions import NotFound
while instance.status == "BUILD": while instance.status == "BUILD":
instance.get() instance.get()