remove @since that predate 1.0
This commit is contained in:
Robey Pointer 2006-02-19 20:04:47 -08:00
parent 6459365f50
commit 2103553ff5
6 changed files with 1 additions and 31 deletions

View File

@ -336,8 +336,6 @@ class Channel (object):
@return: the ID of this channel. @return: the ID of this channel.
@rtype: int @rtype: int
@since: ivysaur
""" """
return self.chanid return self.chanid

View File

@ -152,8 +152,6 @@ class DSSKey (PKey):
@type progress_func: function @type progress_func: function
@return: new private key @return: new private key
@rtype: L{DSSKey} @rtype: L{DSSKey}
@since: fearow
""" """
randpool.stir() randpool.stir()
dsa = DSA.generate(bits, randpool.get_bytes, progress_func) dsa = DSA.generate(bits, randpool.get_bytes, progress_func)

View File

@ -139,8 +139,6 @@ class PKey (object):
@return: a base64 string containing the public part of the key. @return: a base64 string containing the public part of the key.
@rtype: str @rtype: str
@since: fearow
""" """
return base64.encodestring(str(self)).replace('\n', '') return base64.encodestring(str(self)).replace('\n', '')
@ -194,8 +192,6 @@ class PKey (object):
@raise PasswordRequiredException: if the private key file is @raise PasswordRequiredException: if the private key file is
encrypted, and C{password} is C{None}. encrypted, and C{password} is C{None}.
@raise SSHException: if the key file is invalid. @raise SSHException: if the key file is invalid.
@since: fearow
""" """
key = cls(filename=filename, password=password) key = cls(filename=filename, password=password)
return key return key
@ -213,8 +209,6 @@ class PKey (object):
@raise IOError: if there was an error writing the file. @raise IOError: if there was an error writing the file.
@raise SSHException: if the key is invalid. @raise SSHException: if the key is invalid.
@since: fearow
""" """
raise Exception('Not implemented in PKey') raise Exception('Not implemented in PKey')

View File

@ -128,8 +128,6 @@ class RSAKey (PKey):
@type progress_func: function @type progress_func: function
@return: new private key @return: new private key
@rtype: L{RSAKey} @rtype: L{RSAKey}
@since: fearow
""" """
randpool.stir() randpool.stir()
rsa = RSA.generate(bits, randpool.get_bytes, progress_func) rsa = RSA.generate(bits, randpool.get_bytes, progress_func)

View File

@ -443,8 +443,6 @@ class SubsystemHandler (threading.Thread):
authenticated and requests subsytem C{"mp3"}, an object of class authenticated and requests subsytem C{"mp3"}, an object of class
C{MP3Handler} will be created, and L{start_subsystem} will be called on C{MP3Handler} will be created, and L{start_subsystem} will be called on
it from a new thread. it from a new thread.
@since: ivysaur
""" """
def __init__(self, channel, name, server): def __init__(self, channel, name, server):
""" """

View File

@ -74,8 +74,6 @@ class SecurityOptions (object):
If you try to add an algorithm that paramiko doesn't recognize, If you try to add an algorithm that paramiko doesn't recognize,
C{ValueError} will be raised. If you try to assign something besides a C{ValueError} will be raised. If you try to assign something besides a
tuple to one of the fields, C{TypeError} will be raised. tuple to one of the fields, C{TypeError} will be raised.
@since: ivysaur
""" """
__slots__ = [ 'ciphers', 'digests', 'key_types', 'kex', 'compression', '_transport' ] __slots__ = [ 'ciphers', 'digests', 'key_types', 'kex', 'compression', '_transport' ]
@ -331,7 +329,7 @@ class Transport (threading.Thread):
use the connection (without corrupting the session). Use this method use the connection (without corrupting the session). Use this method
to clean up a Transport object without disrupting the other process. to clean up a Transport object without disrupting the other process.
@since: 1.6 @since: 1.5.3
""" """
self.sock.close() self.sock.close()
self.close() self.close()
@ -345,8 +343,6 @@ class Transport (threading.Thread):
@return: an object that can be used to change the preferred algorithms @return: an object that can be used to change the preferred algorithms
for encryption, digest (hash), public key, and key exchange. for encryption, digest (hash), public key, and key exchange.
@rtype: L{SecurityOptions} @rtype: L{SecurityOptions}
@since: ivysaur
""" """
return SecurityOptions(self) return SecurityOptions(self)
@ -523,8 +519,6 @@ class Transport (threading.Thread):
otherwise. otherwise.
@rtype: bool @rtype: bool
@since: doduo
@note: This has no effect when used in client mode. @note: This has no effect when used in client mode.
""" """
Transport._modulus_pack = ModulusPack(randpool) Transport._modulus_pack = ModulusPack(randpool)
@ -678,8 +672,6 @@ class Transport (threading.Thread):
@param bytes: the number of random bytes to send in the payload of the @param bytes: the number of random bytes to send in the payload of the
ignored packet -- defaults to a random number from 10 to 41. ignored packet -- defaults to a random number from 10 to 41.
@type bytes: int @type bytes: int
@since: fearow
""" """
m = Message() m = Message()
m.add_byte(chr(MSG_IGNORE)) m.add_byte(chr(MSG_IGNORE))
@ -723,8 +715,6 @@ class Transport (threading.Thread):
@param interval: seconds to wait before sending a keepalive packet (or @param interval: seconds to wait before sending a keepalive packet (or
0 to disable keepalives). 0 to disable keepalives).
@type interval: int @type interval: int
@since: fearow
""" """
self.packetizer.set_keepalive(interval, self.packetizer.set_keepalive(interval,
lambda x=weakref.proxy(self): x.global_request('keepalive@lag.net', wait=False)) lambda x=weakref.proxy(self): x.global_request('keepalive@lag.net', wait=False))
@ -746,8 +736,6 @@ class Transport (threading.Thread):
request was successful (or an empty L{Message} if C{wait} was request was successful (or an empty L{Message} if C{wait} was
C{False}); C{None} if the request was denied. C{False}); C{None} if the request was denied.
@rtype: L{Message} @rtype: L{Message}
@since: fearow
""" """
if wait: if wait:
self.completion_event = threading.Event() self.completion_event = threading.Event()
@ -829,8 +817,6 @@ class Transport (threading.Thread):
@raise SSHException: if the SSH2 negotiation fails, the host key @raise SSHException: if the SSH2 negotiation fails, the host key
supplied by the server is incorrect, or authentication fails. supplied by the server is incorrect, or authentication fails.
@since: doduo
""" """
if hostkey is not None: if hostkey is not None:
self._preferred_keys = [ hostkey.get_name() ] self._preferred_keys = [ hostkey.get_name() ]
@ -918,8 +904,6 @@ class Transport (threading.Thread):
@return: username that was authenticated, or C{None}. @return: username that was authenticated, or C{None}.
@rtype: string @rtype: string
@since: fearow
""" """
if not self.active or (self.auth_handler is None): if not self.active or (self.auth_handler is None):
return None return None