Remove unused format parameters (#385)
Fixes pyflakes unused argument warning
This commit is contained in:
parent
52ee3ce105
commit
d4a2c70d52
|
@ -87,7 +87,7 @@ def invite(cfg, reactor=reactor):
|
|||
print()
|
||||
|
||||
if cfg.ssh_user is None:
|
||||
ssh_path = expanduser('~/.ssh/'.format(cfg.ssh_user))
|
||||
ssh_path = expanduser('~/.ssh/')
|
||||
else:
|
||||
ssh_path = expanduser('~{}/.ssh/'.format(cfg.ssh_user))
|
||||
auth_key_path = join(ssh_path, 'authorized_keys')
|
||||
|
|
|
@ -988,7 +988,7 @@ class ZeroMode(ServerBase, unittest.TestCase):
|
|||
"wormhole receive -0{NL}"
|
||||
"{NL}"
|
||||
"text message sent{NL}").format(
|
||||
bytes=len(message), code=send_cfg.code, NL=NL)
|
||||
bytes=len(message), NL=NL)
|
||||
self.failUnlessEqual(send_stderr, expected)
|
||||
|
||||
# check receiver
|
||||
|
|
Loading…
Reference in New Issue
Block a user