Comment 1 for bug 540195

Revision history for this message
Curtis Hovey (sinzui) wrote :

The problem code is this
        try:
            kind, keytext, comment = sshkey.split(' ', 2)
        except ValueError:
            raise SSHKeyAdditionError
        if not (kind and keytext and comment):
            raise SSHKeyAdditionError

The error could be explicit and state what parts are missing that are required.