mac robustness: use os.path.join

This commit is contained in:
Guido van Rossum 1995-10-07 19:26:06 +00:00
parent f6d69289a3
commit 11bb1743b6
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
"""
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: