diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-06-01 13:38:24 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-06-01 13:38:24 -0700 |
commit | 8ddbb8c3f4676b1fcb00e735a87c5d9d83c811cc (patch) | |
tree | 348de65e9f2c4c4b5eeb6f4cff6bda1ea76da6b7 | |
parent | b99b234e52a18e3dc48cea5dfa38240eb4c17aee (diff) |
Address an unused variable bit.
Had to spelunk to make sure this wasn't a recent brokenness
-rw-r--r-- | paramiko/transport.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py index 129562d1..eed00bc7 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -1901,10 +1901,10 @@ class Transport (threading.Thread, ClosingContextManager): self.remote_version = buf self._log(DEBUG, 'Remote version/idstring: %s' % buf) # pull off any attached comment - comment = '' + # NOTE: comment used to be stored in a variable and then...never used. + # since 2003. ca 877cd974b8182d26fa76d566072917ea67b64e67 i = buf.find(' ') if i >= 0: - comment = buf[i+1:] buf = buf[:i] # parse out version string and make sure it matches segs = buf.split('-', 2) |