diff options
author | Dorian Pula <dorian.pula@amber-penguin-software.ca> | 2017-05-23 17:49:28 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-05-31 17:14:40 -0700 |
commit | c960e2281a567314e80d46e77e79e05e6b2dc83e (patch) | |
tree | ea40ceecf201a121dd6d69545659edc7e394b0f9 /paramiko/config.py | |
parent | c1a0974d8886c6a2d46fb69a4a7df382875374c2 (diff) | |
download | paramiko-c960e2281a567314e80d46e77e79e05e6b2dc83e.tar.gz |
Lots of flake8 fix.
Diffstat (limited to 'paramiko/config.py')
-rw-r--r-- | paramiko/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/config.py b/paramiko/config.py index 42831fab..196e32ba 100644 --- a/paramiko/config.py +++ b/paramiko/config.py @@ -58,7 +58,7 @@ class SSHConfig (object): host = {"host": ['*'], "config": {}} for line in file_obj: # Strip any leading or trailing whitespace from the line. - # See https://github.com/paramiko/paramiko/issues/499 for more info. + # Refer to https://github.com/paramiko/paramiko/issues/499 line = line.strip() if not line or line.startswith('#'): continue @@ -68,7 +68,7 @@ class SSHConfig (object): raise Exception("Unparsable line %s" % line) key = match.group(1).lower() value = match.group(2) - + if key == 'host': self._config.append(host) host = { |