Skip to content

Commit

Permalink
Blackened
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Jun 14, 2018
1 parent 1ed67ad commit 9ff7dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion paramiko/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def as_bool(self, key):
val = self[key]
if isinstance(val, bool):
return val
return val.lower() == 'yes'
return val.lower() == "yes"

def as_int(self, key):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from paramiko.util import parse_ssh_config
from paramiko.py3compat import StringIO


def test_SSHConfigDict_construct_empty():
assert not config.SSHConfigDict()

Expand Down Expand Up @@ -71,4 +72,3 @@ def test_SSHConfig_wildcard_host_dicts_are_SSHConfigDict_instances():
f = StringIO(test_config_file)
config = parse_ssh_config(f)
assert config.lookup("anything-else").as_int("port") == 3333

0 comments on commit 9ff7dc9

Please sign in to comment.