'Can\'t exit from root (if root)'

def send_config_set(self, config_commands=None, exit_config_mode=True, **kwargs):

    if (self.username == u'root'):
        exit_config_mode = False
    return super(CiscoSSHConnection, self).send_config_set(config_commands=config_commands, exit_config_mode=exit_config_mode, **kwargs)
