From: Guido van Rossum Date: Sat, 7 Oct 1995 19:26:06 +0000 (+0000) Subject: mac robustness: use os.path.join X-Git-Tag: v1.3~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11bb1743b61535aeb06c512283b17a07a3cb9233;p=thirdparty%2FPython%2Fcpython.git mac robustness: use os.path.join --- diff --git a/Demo/pdist/rcsclient.py b/Demo/pdist/rcsclient.py index 983aad125dce..20dffeca2300 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: