summaryrefslogtreecommitdiffstats
path: root/Demo/pdist
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-10-07 19:26:06 (GMT)
committerGuido van Rossum <guido@python.org>1995-10-07 19:26:06 (GMT)
commit11bb1743b61535aeb06c512283b17a07a3cb9233 (patch)
tree65604faa6010dc7afd2bca77fcb9c3ab8d932e17 /Demo/pdist
parentf6d69289a3f4a57302f0ab6aaf827c46fee8104c (diff)
downloadcpython-11bb1743b61535aeb06c512283b17a07a3cb9233.zip
cpython-11bb1743b61535aeb06c512283b17a07a3cb9233.tar.gz
cpython-11bb1743b61535aeb06c512283b17a07a3cb9233.tar.bz2
mac robustness: use os.path.join
Diffstat (limited to 'Demo/pdist')
-rwxr-xr-xDemo/pdist/rcsclient.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/pdist/rcsclient.py b/Demo/pdist/rcsclient.py
index 983aad1..20dffec 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: