Remove unused variable for junos_user (#62311)

This isn't used any place, lets remove it to fix lint checks on our
network collections.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-09-16 14:06:11 -04:00 committed by GitHub
parent b1afb37ac9
commit 119acc1afe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,7 +233,7 @@ def map_obj_to_ele(module, want):
ssh_rsa = SubElement(auth, 'ssh-ecdsa')
elif 'ssh-ed25519' in item['sshkey']:
ssh_rsa = SubElement(auth, 'ssh-ed25519')
key = SubElement(ssh_rsa, 'name').text = item['sshkey']
SubElement(ssh_rsa, 'name').text = item['sshkey']
if item.get('encrypted_password'):
auth = SubElement(user, 'authentication')