Don't let a missing key stop this scm test local settings setup

This commit is contained in:
Matthew Jones 2014-08-18 15:34:08 -04:00
parent ccc947afdf
commit 945bedf5e6

View File

@ -289,7 +289,7 @@ AUTH_LDAP_TEAM_MAP = {
try:
path = os.path.expanduser(os.path.expandvars('~/.ssh/id_rsa'))
TEST_SSH_KEY_DATA = file(path, 'rb').read()
except OSError:
except IOError:
TEST_SSH_KEY_DATA = ''
TEST_GIT_USERNAME = ''