Commit 11bb1743 authored by Guido van Rossum's avatar Guido van Rossum

mac robustness: use os.path.join

parent f6d69289
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment