Revision bbd4ce54

b/docs/source/conf.py
45 45
# The short X.Y version.
46 46
version = '0.1'
47 47
# The full version, including alpha/beta/rc tags.
48
release = '0.1.1a'
48
release = '0.1.0'
49 49

  
50 50
# The language for content autogenerated by Sphinx. Refer to documentation
51 51
# for a list of supported languages.
b/docs/source/intro.rst
18 18

  
19 19
    from ncclient import manager
20 20

  
21
    with manager.connect_ssh('host', 'username') as m:
21
    # use ssh-agent or ~/.ssh keys for auth, load known_hosts by default
22
    with manager.connect_ssh('host', username='username') as m:
22 23
        assert(":url" in manager.server_capabilities)
23 24
        with m.locked('running'):
24 25
            m.copy_config(source="running", target="file://new_checkpoint.conf")
25 26
            m.copy_config(source="file://old_checkpoint.conf", target="running")
26 27

  
27
It is recommended to use the high-level :class:`Manager` API where possible. It exposes almost all of the functionality.
28
It is recommended to use the high-level :class:`Manager` API where possible. It exposes all of the functionality except asynchronous RPC requests.
28 29

  
b/docs/source/userdoc/xml.rst
1 1
**********************
2
:mod:`content` module
2
:mod:`xml_` module
3 3
**********************
4 4

  
5 5
.. automodule:: ncclient.xml_
b/ncclient/manager.py
71 71
        if not reply.ok:
72 72
            if self._raise == RAISE_ALL:
73 73
                raise reply.error
74
            elif self._raise == RAISE_ERROR:
74
            elif self._raise == RAISE_ERR:
75 75
                for error in reply.errors:
76 76
                    if error.severity == 'error':
77 77
                        raise error
b/ncclient/operations/rpc.py
239 239
    taking delivery of the reply.
240 240
    """
241 241

  
242
    # : Subclasses can specify their dependencies on capabilities. List of URI's
242
    #: Subclasses can specify their dependencies on capabilities. List of URI's
243 243
    # or abbreviated names, e.g. ':writable-running'. These are verified at the
244 244
    # time of object creation. If the capability is not available, a
245 245
    # :exc:`MissingCapabilityError` is raised.
246 246
    DEPENDS = []
247 247

  
248
    # : Subclasses can specify a different reply class, but it must be a
248
    #: Subclasses can specify a different reply class, but it must be a
249 249
    # subclass of :class:`RPCReply`.
250 250
    REPLY_CLS = RPCReply
251 251

  
......
328 328
        :exc:`MissingCapabilityError` will be raised if the capability is not
329 329
        available."""
330 330
        if capability not in self._session.server_capabilities:
331
            raise MissingCapabilityError('Server does not support [%s]' % cap)
331
            raise MissingCapabilityError('Server does not support [%s]' %
332
                                         capability)
332 333

  
333 334
    def deliver_reply(self, raw):
334 335
        # internal use
b/ncclient/operations/session.py
26 26

  
27 27
    SPEC = { 'tag': 'close-session' }
28 28

  
29
    def _delivsery_hook(self):
29
    def _delivery_hook(self):
30 30
        self.session.close()
31 31

  
32 32
    def request(self):

Also available in: Unified diff