Revision 541247ba ncclient/transport/ssh.py

b/ncclient/transport/ssh.py
241 241
                logger.debug(e)
242 242
        
243 243
        if saved_exception is not None:
244
            # need pep-3134 to do this right
244 245
            raise SSHAuthenticationError(repr(saved_exception))
245 246
        
246 247
        raise SSHAuthenticationError('No authentication methods available')
......
286 287
        documentation for details.
287 288
        '''
288 289
        return self._transport
290
    
291
    @property
292
    def is_remote_cisco(self):
293
        return 'Cisco' in self._transport.remote_version

Also available in: Unified diff