From 2d997fb0464f24da63a2b98492e356c3c20a6dec Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Tue, 24 Jan 2017 14:49:37 -0500 Subject: [PATCH] silence noisy oauth2client helpers --- src/oauth2client/_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oauth2client/_helpers.py b/src/oauth2client/_helpers.py index e9123971..d9cda749 100644 --- a/src/oauth2client/_helpers.py +++ b/src/oauth2client/_helpers.py @@ -251,8 +251,8 @@ def validate_file(filename): raise IOError(_SYM_LINK_MESSAGE.format(filename)) elif os.path.isdir(filename): raise IOError(_IS_DIR_MESSAGE.format(filename)) - elif not os.path.isfile(filename): - warnings.warn(_MISSING_FILE_MESSAGE.format(filename)) + #elif not os.path.isfile(filename): + # warnings.warn(_MISSING_FILE_MESSAGE.format(filename)) def _parse_pem_key(raw_key_input):