projects
/
ncclient
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e522afb
)
typo
author
Shikhar Bhushan
<shikhar@schmizz.net>
Tue, 12 Jan 2010 22:31:03 +0000
(23:31 +0100)
committer
Shikhar Bhushan
<shikhar@schmizz.net>
Tue, 12 Jan 2010 22:31:03 +0000
(23:31 +0100)
docs/source/index.rst
patch
|
blob
|
history
diff --git
a/docs/source/index.rst
b/docs/source/index.rst
index
ef5267f
..
4ebf597
100644
(file)
--- a/
docs/source/index.rst
+++ b/
docs/source/index.rst
@@
-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")