Revision 0a718026 ncclient/manager.py

b/ncclient/manager.py
61 61
        except KeyError:
62 62
            raise AttributeError
63 63
        else:
64
            return op(self.session,
64
            reply = op(self.session,
65 65
                      async=self._async_mode,
66 66
                      timeout=self.timeout,
67 67
                      raise_mode=self._raise_mode).request
68
            return op if self._async_mode else reply
68 69

  
69 70
    def locked(self, target):
70 71
        """Returns a context manager for the *with* statement.

Also available in: Unified diff