Skip to content

Commit

Permalink
And moar
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Sep 19, 2014
1 parent 233f0a4 commit 83f54e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion paramiko/kex_gex.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"""
Variant on `KexGroup1 <paramiko.kex_group1.KexGroup1>` where the prime "p" and
generator "g" are provided by the server. A bit more work is required on the
client side, and a B{lot} more on the server side.
client side, and a **lot** more on the server side.
"""

from Crypto.Hash import SHA
Expand Down
5 changes: 2 additions & 3 deletions paramiko/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,10 +963,9 @@ def get_username(self):
def get_banner(self):
"""
Return the banner supplied by the server upon connect. If no banner is
supplied, this method returns C{None}.
supplied, this method returns ``None``.
@return: server supplied banner, or C{None}.
@rtype: string
:returns: server supplied banner (`str`), or ``None``.
"""
if not self.active or (self.auth_handler is None):
return None
Expand Down

0 comments on commit 83f54e4

Please sign in to comment.