summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2013-05-05 13:59:34 -0700
committerJeff Forcier <jeff@bitprophet.org>2013-05-05 13:59:34 -0700
commit3c2f01c91f798bc2ecefbd7c3864dc5e8c5af5c8 (patch)
tree500c93fcc7ccff14e6046ad30f6cddcd0a41581d
parentb2b8d5d0a6e808b385e6f3ec41f3cfef7ee1a6ec (diff)
Flip bad known_hosts line to INFO from WARN re #153
-rw-r--r--paramiko/hostkeys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/hostkeys.py b/paramiko/hostkeys.py
index c54d2e74..93a621d3 100644
--- a/paramiko/hostkeys.py
+++ b/paramiko/hostkeys.py
@@ -66,7 +66,7 @@ class HostKeyEntry:
fields = line.split(' ')
if len(fields) < 3:
# Bad number of fields
- log.warn("Not enough fields found in known_hosts in line %s (%r)" %
+ log.info("Not enough fields found in known_hosts in line %s (%r)" %
(lineno, line))
return None
fields = fields[:3]
@@ -82,7 +82,7 @@ class HostKeyEntry:
elif keytype == 'ssh-dss':
key = DSSKey(data=base64.decodestring(key))
else:
- log.warn("Unable to handle key of type %s" % (keytype,))
+ log.info("Unable to handle key of type %s" % (keytype,))
return None
except binascii.Error, e:
raise InvalidHostKey(line, e)