Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Drop unused _read_key_file function
Browse files Browse the repository at this point in the history
  • Loading branch information
elyezer committed Sep 20, 2017
1 parent ec7f396 commit 1d553b5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions rho/scancommand.py
Expand Up @@ -33,15 +33,6 @@
from rho.translation import _


# Read ssh key from file
def _read_key_file(filename):
keyfile = open(os.path.expanduser(
os.path.expandvars(filename)), "r")
sshkey = keyfile.read()
keyfile.close()
return sshkey


def auth_as_ansible_host_vars(auth):
"""Get the Ansible host vars that implement an auth.
Expand Down

0 comments on commit 1d553b5

Please sign in to comment.