Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: third_party/twisted_8_1/twisted/tap/telnet.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/twisted_8_1/twisted/tap/socks.py ('k') | third_party/twisted_8_1/twisted/test/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/twisted_8_1/twisted/tap/telnet.py
diff --git a/third_party/twisted_8_1/twisted/tap/telnet.py b/third_party/twisted_8_1/twisted/tap/telnet.py
deleted file mode 100644
index c27235e0d9f88b3f2f7d671f489675343f8bad24..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/tap/telnet.py
+++ /dev/null
@@ -1,29 +0,0 @@
-
-# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-
-"""
-Support module for making a telnet server with mktap.
-"""
-
-from twisted.manhole import telnet
-from twisted.python import usage
-from twisted.application import strports
-
-class Options(usage.Options):
- synopsis = "Usage: mktap telnet [options]"
- longdesc = "Makes a telnet server to a Python shell."
- optParameters = [
- ["username", "u", "admin","set the login username"],
- ["password", "w", "changeme","set the password"],
- ["port", "p", "4040", "port to listen on"],
- ]
- zsh_actions = {"username":"_users"}
-
-def makeService(config):
- t = telnet.ShellFactory()
- t.username, t.password = config['username'], config['password']
- s = strports.service(config['port'], t)
- t.setService(s)
- return s
« no previous file with comments | « third_party/twisted_8_1/twisted/tap/socks.py ('k') | third_party/twisted_8_1/twisted/test/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698