mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Don't let a missing key stop this scm test local settings setup
This commit is contained in:
@@ -289,7 +289,7 @@ AUTH_LDAP_TEAM_MAP = {
|
|||||||
try:
|
try:
|
||||||
path = os.path.expanduser(os.path.expandvars('~/.ssh/id_rsa'))
|
path = os.path.expanduser(os.path.expandvars('~/.ssh/id_rsa'))
|
||||||
TEST_SSH_KEY_DATA = file(path, 'rb').read()
|
TEST_SSH_KEY_DATA = file(path, 'rb').read()
|
||||||
except OSError:
|
except IOError:
|
||||||
TEST_SSH_KEY_DATA = ''
|
TEST_SSH_KEY_DATA = ''
|
||||||
|
|
||||||
TEST_GIT_USERNAME = ''
|
TEST_GIT_USERNAME = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user