r47006 - get things working
hawkowl-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Wed, 16 Mar 2016 01:48:42 -0600 (MDT)
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: hawkowl
Date: Wed Mar 16 01:48:38 2016
New Revision: 47006
Modified:
branches/conch-transport-py3-8232/twisted/conch/interfaces.py
branches/conch-transport-py3-8232/twisted/conch/ssh/service.py
branches/conch-transport-py3-8232/twisted/python/dist3.py
Log:
get things working
Modified: branches/conch-transport-py3-8232/twisted/conch/interfaces.py
==============================================================================
--- branches/conch-transport-py3-8232/twisted/conch/interfaces.py (original)
+++ branches/conch-transport-py3-8232/twisted/conch/interfaces.py Wed Mar 16 01:48:38 2016
@@ -5,8 +5,11 @@
This module contains interfaces defined for the L{twisted.conch} package.
"""
+from __future__ import absolute_import, division
+
from zope.interface import Interface, Attribute
+
class IConchUser(Interface):
"""
A user who has been authenticated to Cred through Conch. This is
@@ -54,6 +57,8 @@
The method is called with arguments of windowSize, maxPacket, data.
"""
+
+
class ISession(Interface):
def getPty(term, windowSize, modes):
@@ -94,6 +99,7 @@
"""
+
class ISFTPServer(Interface):
"""
SFTP subsystem for server-side communication.
@@ -404,5 +410,3 @@
@param attrs: a dictionary in the same format as the attrs argument to
L{openFile}.
"""
-
-
Modified: branches/conch-transport-py3-8232/twisted/conch/ssh/service.py
==============================================================================
--- branches/conch-transport-py3-8232/twisted/conch/ssh/service.py (original)
+++ branches/conch-transport-py3-8232/twisted/conch/ssh/service.py Wed Mar 16 01:48:38 2016
@@ -8,9 +8,11 @@
Maintainer: Paul Swartz
"""
+from __future__ import absolute_import, division
from twisted.python import log
+
class SSHService(log.Logger):
name = None # this is the ssh name for the service
protocolMessages = {} # these map #'s -> protocol names
@@ -45,4 +47,3 @@
log.msg("couldn't handle %r" % messageNum)
log.msg(repr(packet))
self.transport.sendUnimplemented()
-
Modified: branches/conch-transport-py3-8232/twisted/python/dist3.py
==============================================================================
--- branches/conch-transport-py3-8232/twisted/python/dist3.py (original)
+++ branches/conch-transport-py3-8232/twisted/python/dist3.py Wed Mar 16 01:48:38 2016
@@ -47,15 +47,19 @@
"twisted.conch.__init__",
"twisted.conch.checkers",
"twisted.conch.error",
+ "twisted.conch.interfaces",
+ "twisted.conch.ssh.service",
"twisted.conch.ssh.__init__",
"twisted.conch.ssh._cryptography_backports",
"twisted.conch.ssh._kex",
"twisted.conch.ssh.address",
"twisted.conch.ssh.common",
+ "twisted.conch.ssh.connection",
"twisted.conch.ssh.factory",
"twisted.conch.ssh.keys",
"twisted.conch.ssh.sexpy",
"twisted.conch.ssh.transport",
+ "twisted.conch.ssh.userauth",
"twisted.conch.telnet",
"twisted.conch.test.__init__",
"twisted.copyright",