Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f3d39ab

Browse files
committed
add security
1 parent 541df3e commit f3d39ab

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Demo/pdist/RCSProxy.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,26 +230,26 @@ def rmdir(self, name):
230230
os.rmdir(name)
231231

232232

233-
class RCSProxyServer(RCSProxyLocal, server.Server):
233+
class RCSProxyServer(RCSProxyLocal, server.SecureServer):
234234

235235
def __init__(self, address, verbose = server.VERBOSE):
236236
RCSProxyLocal.__init__(self)
237-
server.Server.__init__(self, address, verbose)
237+
server.SecureServer.__init__(self, address, verbose)
238238

239239
def _close(self):
240-
server.Server._close(self)
240+
server.SecureServer._close(self)
241241
RCSProxyLocal._close(self)
242242

243243
def _serve(self):
244-
server.Server._serve(self)
244+
server.SecureServer._serve(self)
245245
# Retreat into start directory
246246
while self._dirstack: self.back()
247247

248248

249-
class RCSProxyClient(client.Client):
249+
class RCSProxyClient(client.SecureClient):
250250

251251
def __init__(self, address, verbose = client.VERBOSE):
252-
client.Client.__init__(self, address, verbose)
252+
client.SecureClient.__init__(self, address, verbose)
253253

254254

255255
def test_server():

0 commit comments

Comments
 (0)