Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802c437 commit 72974f3Copy full SHA for 72974f3
1 file changed
Demo/pdist/rcsclient.py
@@ -9,6 +9,16 @@
9
PORT = 4127
10
VERBOSE = 1
11
12
+
13
+import client
14
15
16
+class RCSProxyClient(client.SecureClient):
17
18
+ def __init__(self, address, verbose = client.VERBOSE):
19
+ client.SecureClient.__init__(self, address, verbose)
20
21
22
def openrcsclient(opts = []):
23
"open an RCSProxy client based on a list of options returned by getopt"
24
import RCSProxy
@@ -33,7 +43,8 @@ def openrcsclient(opts = []):
33
43
if o == '-q':
34
44
verbose = 0
35
45
address = (host, port)
36
- x = RCSProxy.RCSProxyClient(address, verbose)
46
+ # XXX For local operation, instantiate RCSProxy.RCSProxyLocal() here
47
+ x = RCSProxyClient(address, verbose)
37
48
if not directory:
38
49
try:
39
50
directory = open("CVS/Repository").readline()
0 commit comments