diff options
author | Guido van Rossum <guido@python.org> | 1995-10-07 19:26:06 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-10-07 19:26:06 +0000 |
commit | 9114b3132fa8a05fb9f447fdd4668d4ef1af357e (patch) | |
tree | d5866ca516655540e1755c5b813c54547031174a /Demo/pdist | |
parent | d26bc0f7a59238cc159ab0959dbe5982f0e9c3bd (diff) | |
download | cpython-9114b3132fa8a05fb9f447fdd4668d4ef1af357e.tar.gz |
mac robustness: use os.path.join
Diffstat (limited to 'Demo/pdist')
-rwxr-xr-x | Demo/pdist/rcsclient.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/pdist/rcsclient.py b/Demo/pdist/rcsclient.py index 983aad125d..20dffeca23 100755 --- a/Demo/pdist/rcsclient.py +++ b/Demo/pdist/rcsclient.py @@ -7,6 +7,7 @@ variable to enable remote operation.) """ import string +import os # These defaults don't belong here -- they should be taken from the # environment or from a hidden file in the current directory @@ -59,7 +60,7 @@ def openrcsclient(opts = []): x = RCSProxyClient(address, verbose) if not directory: try: - directory = open("CVS/Repository").readline() + directory = open(os.path.join("CVS", "Repository")).readline() except IOError: pass else: |