summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-06-21 02:09:20 (GMT)
committerGuido van Rossum <guido@python.org>1995-06-21 02:09:20 (GMT)
commitf3d39abb25ff001e66dfcb50c14e6bea3fe5881e (patch)
treed21310f5ffea5a6b7fdd25dfbdaa3ce8379f27f5 /Demo
parent541df3e99e924540097ceb7761a6e423486da652 (diff)
downloadcpython-f3d39abb25ff001e66dfcb50c14e6bea3fe5881e.zip
cpython-f3d39abb25ff001e66dfcb50c14e6bea3fe5881e.tar.gz
cpython-f3d39abb25ff001e66dfcb50c14e6bea3fe5881e.tar.bz2
add security
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/pdist/RCSProxy.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Demo/pdist/RCSProxy.py b/Demo/pdist/RCSProxy.py
index 0a12157..90eaff4 100755
--- a/Demo/pdist/RCSProxy.py
+++ b/Demo/pdist/RCSProxy.py
@@ -230,26 +230,26 @@ class RCSProxyLocal:
os.rmdir(name)
-class RCSProxyServer(RCSProxyLocal, server.Server):
+class RCSProxyServer(RCSProxyLocal, server.SecureServer):
def __init__(self, address, verbose = server.VERBOSE):
RCSProxyLocal.__init__(self)
- server.Server.__init__(self, address, verbose)
+ server.SecureServer.__init__(self, address, verbose)
def _close(self):
- server.Server._close(self)
+ server.SecureServer._close(self)
RCSProxyLocal._close(self)
def _serve(self):
- server.Server._serve(self)
+ server.SecureServer._serve(self)
# Retreat into start directory
while self._dirstack: self.back()
-class RCSProxyClient(client.Client):
+class RCSProxyClient(client.SecureClient):
def __init__(self, address, verbose = client.VERBOSE):
- client.Client.__init__(self, address, verbose)
+ client.SecureClient.__init__(self, address, verbose)
def test_server():