diff options
author | Marcus Smith <qwcode@gmail.com> | 2013-03-01 11:07:29 -0800 |
---|---|---|
committer | Marcus Smith <qwcode@gmail.com> | 2013-03-01 11:07:29 -0800 |
commit | 50e2662bb4199412484d1a2af0dd0a55759dfcc8 (patch) | |
tree | ec907b7ee7d4478eaed2ef3e6857ac26a3ac77e6 | |
parent | ee3fb0250a12be18afb9b611a9ba930cdc6942c1 (diff) | |
download | pip-50e2662bb4199412484d1a2af0dd0a55759dfcc8.tar.gz |
ssl errors should show by default w/o -v
-rw-r--r-- | pip/index.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pip/index.py b/pip/index.py index ef7e856db..c99f7a84d 100644 --- a/pip/index.py +++ b/pip/index.py @@ -492,7 +492,9 @@ class HTMLPage(object): #ssl/certificate error if ssl and hasattr(e, 'reason') and (isinstance(e.reason, ssl.SSLError) or isinstance(e.reason, CertificateError)): desc = 'there was a problem confirming the ssl certificate %s' % e - log_meth = logger.info + log_meth = logger.notify + else: + log_meth = logger.info if hasattr(e, 'reason') and isinstance(e.reason, socket.timeout): desc = 'timed out' level = 1 |