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

Unified Diff: third_party/twisted_8_1/twisted/tap/portforward.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/manhole.py ('k') | third_party/twisted_8_1/twisted/tap/socks.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/portforward.py
diff --git a/third_party/twisted_8_1/twisted/tap/portforward.py b/third_party/twisted_8_1/twisted/tap/portforward.py
deleted file mode 100644
index 3f07116bc7706d477daba54102aedccc3bd652c1..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/tap/portforward.py
+++ /dev/null
@@ -1,24 +0,0 @@
-
-# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-"""
-Support module for making a port forwarder with mktap.
-"""
-from twisted.protocols import portforward
-from twisted.python import usage
-from twisted.application import strports
-
-class Options(usage.Options):
- synopsis = "Usage: mktap portforward [options]"
- longdesc = 'Port Forwarder.'
- optParameters = [
- ["port", "p", "6666","Set the port number."],
- ["host", "h", "localhost","Set the host."],
- ["dest_port", "d", 6665,"Set the destination port."],
- ]
- zsh_actions = {"host" : "_hosts"}
-
-def makeService(config):
- f = portforward.ProxyFactory(config['host'], int(config['dest_port']))
- return strports.service(config['port'], f)
« no previous file with comments | « third_party/twisted_8_1/twisted/tap/manhole.py ('k') | third_party/twisted_8_1/twisted/tap/socks.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698