Skip to content

Commit

Permalink
cli output for mutiple <output> tags
Browse files Browse the repository at this point in the history
  • Loading branch information
vnitinv committed Jul 28, 2016
2 parents 46f9094 + c52085a commit ef4a453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jnpr/junos/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def cli(self, command, format='text', warning=True):
if rsp is True:
return ''
if rsp.tag in ['output', 'rpc-reply']:
return rsp.text
return etree.tounicode(rsp, method="text", with_tail=False)
if rsp.tag == 'configuration-information':
return rsp.findtext('configuration-output')
if rsp.tag == 'rpc':
Expand Down

0 comments on commit ef4a453

Please sign in to comment.