summaryrefslogtreecommitdiff
path: root/paramiko/kex_group1.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-10-11 14:54:49 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-10-11 14:54:49 -0700
commit838748dcb61af0a469230690aa369dd1ae8895ab (patch)
treefacf919a43a41cf5b73cb9e1ed986e91d2772c6e /paramiko/kex_group1.py
parent75d7abb97608a5fad14aad1d85c421a7a713f6e9 (diff)
downloadparamiko-838748dcb61af0a469230690aa369dd1ae8895ab.tar.gz
flake8 for previous changeset
Diffstat (limited to 'paramiko/kex_group1.py')
-rw-r--r--paramiko/kex_group1.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/kex_group1.py b/paramiko/kex_group1.py
index 64d463cd..1bebd375 100644
--- a/paramiko/kex_group1.py
+++ b/paramiko/kex_group1.py
@@ -73,7 +73,8 @@ class KexGroup1(object):
return self._parse_kexdh_init(m)
elif not self.transport.server_mode and (ptype == _MSG_KEXDH_REPLY):
return self._parse_kexdh_reply(m)
- raise SSHException('KexGroup1 asked to handle packet type {:d}'.format(ptype))
+ msg = "KexGroup1 asked to handle packet type {:d}"
+ raise SSHException(msg.format(ptype))
# ...internals...