'Strip the trailing router prompt from the output.'

def strip_prompt(self, *args, **kwargs):

    a_string = super(JuniperSSH, self).strip_prompt(*args, **kwargs)
    return self.strip_context_items(a_string)
