diff options
author | Robey Pointer <robey@lag.net> | 2007-03-26 00:58:19 -0700 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2007-03-26 00:58:19 -0700 |
commit | 920b1723606f5cf3cf16155dedeaa9c1b633af82 (patch) | |
tree | aa9bcc3bb196f3acd38c6163778e96b9c8d4a6e0 | |
parent | 6b71c642d1049aa2c05f79c1ea6443ae75e89085 (diff) |
[project @ robey@lag.net-20070326075819-y7972z9cy3ffmw76]
expose PKey for documentation, so inherited methods can be seen in DSSKey and RSAKey
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | paramiko/__init__.py | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -215,3 +215,5 @@ v1.6 UMBREON * figure out how to parse ssh.com encrypted key files? * is it possible to poll on a set of events at once? * potentially create only one thread shared by all Transports +* SSHClient: flag to turn off agent detection? flag to turn off keyfile discovery? + diff --git a/paramiko/__init__.py b/paramiko/__init__.py index 65f28207..94565d94 100644 --- a/paramiko/__init__.py +++ b/paramiko/__init__.py @@ -96,6 +96,7 @@ for c in locals().values(): if issubclass(type(c), type) or type(c).__name__ == 'classobj': # classobj for exceptions :/ c.__module__ = __name__ +del c from common import AUTH_SUCCESSFUL, AUTH_PARTIALLY_SUCCESSFUL, AUTH_FAILED, \ OPEN_SUCCEEDED, OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED, OPEN_FAILED_CONNECT_FAILED, \ @@ -112,6 +113,7 @@ __all__ = [ 'Transport', 'SecurityOptions', 'SubsystemHandler', 'Channel', + 'PKey', 'RSAKey', 'DSSKey', 'Message', |