summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-06-23 21:59:12 (GMT)
committerGuido van Rossum <guido@python.org>1995-06-23 21:59:12 (GMT)
commit72974f35fbe5986f50eeebcb4d958ddee01b036e (patch)
tree59e41a22715fdf3fe57968e7938e4ee6066d53d3 /Demo
parent802c437a957e0ff92271d30c768aaa96397b5615 (diff)
downloadcpython-72974f35fbe5986f50eeebcb4d958ddee01b036e.zip
cpython-72974f35fbe5986f50eeebcb4d958ddee01b036e.tar.gz
cpython-72974f35fbe5986f50eeebcb4d958ddee01b036e.tar.bz2
define RCSProxyClient here instead of in RCSProxy.py
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/pdist/rcsclient.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/Demo/pdist/rcsclient.py b/Demo/pdist/rcsclient.py
index 8dfef7f..eb09bce 100755
--- a/Demo/pdist/rcsclient.py
+++ b/Demo/pdist/rcsclient.py
@@ -9,6 +9,16 @@ HOST = 'voorn.cwi.nl'
PORT = 4127
VERBOSE = 1
+
+import client
+
+
+class RCSProxyClient(client.SecureClient):
+
+ def __init__(self, address, verbose = client.VERBOSE):
+ client.SecureClient.__init__(self, address, verbose)
+
+
def openrcsclient(opts = []):
"open an RCSProxy client based on a list of options returned by getopt"
import RCSProxy
@@ -33,7 +43,8 @@ def openrcsclient(opts = []):
if o == '-q':
verbose = 0
address = (host, port)
- x = RCSProxy.RCSProxyClient(address, verbose)
+ # XXX For local operation, instantiate RCSProxy.RCSProxyLocal() here
+ x = RCSProxyClient(address, verbose)
if not directory:
try:
directory = open("CVS/Repository").readline()