Skip to content

Commit 39f2ba9

Browse files
committed
Clarify comment about default profile
There is no file called default_profile.py. I'm not sure why we would imply that it exists, and allow it to be used, but just clarify the comment for now.
1 parent e40296c commit 39f2ba9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interpreter/profiles.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ def load(self, path):
132132
path += ".py"
133133

134134
if not os.path.exists(path):
135-
# If file doesn't exist, if it's the default, that's fine
135+
# If the missing file is the default profile path, that's fine -
136+
# we'll use the defaults from __init__
136137
if os.path.abspath(os.path.expanduser(path)) == os.path.abspath(
137138
os.path.expanduser(self.DEFAULT_PROFILE_PATH)
138139
):

0 commit comments

Comments
 (0)