tags 484330 patch
stop

With
--- ./apt-proxy 2008/10/29 22:40:41     2.0
+++ ./apt-proxy 2008/10/29 22:46:16     2.1
@@ -13,7 +13,6 @@
 
 from twisted.application import service, internet, app
 from twisted.internet import reactor
-from twisted.manhole.telnet import ShellFactory
 from twisted.python import usage, log
 
 from apt_proxy.apt_proxy_conf import apConfig
@@ -49,6 +48,7 @@
 uid,gid = pwd.getpwnam(config.username)[2:4]
 
 if config.telnet_port:
+    from twisted.manhole.telnet import ShellFactory
     shell = ShellFactory()
     shell.username = config.telnet_user
     shell.password = config.telnet_pass
is the "telnet deprecated warning" gone.

But it is a poor workaround.
The real fix would be reparing the "ShellFactory".

On the otherhand: this patch allows to close #484330
and http://bugs.debian.org/336784 can be used for fixing telnet.


Cheers
Geert Stappers



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to