typo
authorShikhar Bhushan <shikhar@schmizz.net>
Tue, 12 Jan 2010 22:31:03 +0000 (23:31 +0100)
committerShikhar Bhushan <shikhar@schmizz.net>
Tue, 12 Jan 2010 22:31:03 +0000 (23:31 +0100)
docs/source/index.rst

index ef5267f..4ebf597 100644 (file)
@@ -20,7 +20,7 @@ The best way to introduce is of course, through a simple code example::
 
     # use unencrypted keys from ssh-agent or ~/.ssh keys, and rely on known_hosts
     with manager.connect_ssh("host", username="user") as m:
-        assert(":url" in manager.server_capabilities)
+        assert(":url" in m.server_capabilities)
         with m.locked("running"):
             m.copy_config(source="running", target="file:///new_checkpoint.conf")
             m.copy_config(source="file:///old_checkpoint.conf", target="running")