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()
|
print()
|
||||||
|
|
||||||
if cfg.ssh_user is None:
|
if cfg.ssh_user is None:
|
||||||
ssh_path = expanduser('~/.ssh/'.format(cfg.ssh_user))
|
ssh_path = expanduser('~/.ssh/')
|
||||||
else:
|
else:
|
||||||
ssh_path = expanduser('~{}/.ssh/'.format(cfg.ssh_user))
|
ssh_path = expanduser('~{}/.ssh/'.format(cfg.ssh_user))
|
||||||
auth_key_path = join(ssh_path, 'authorized_keys')
|
auth_key_path = join(ssh_path, 'authorized_keys')
|
||||||
|
|
|
@ -988,7 +988,7 @@ class ZeroMode(ServerBase, unittest.TestCase):
|
||||||
"wormhole receive -0{NL}"
|
"wormhole receive -0{NL}"
|
||||||
"{NL}"
|
"{NL}"
|
||||||
"text message sent{NL}").format(
|
"text message sent{NL}").format(
|
||||||
bytes=len(message), code=send_cfg.code, NL=NL)
|
bytes=len(message), NL=NL)
|
||||||
self.failUnlessEqual(send_stderr, expected)
|
self.failUnlessEqual(send_stderr, expected)
|
||||||
|
|
||||||
# check receiver
|
# check receiver
|
||||||
|
|
Loading…
Reference in New Issue
Block a user