Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3a86eae

Browse filesBrowse files
committed
Do not throw if PYTHONSTARTUPFILE does not exists (fixes bpython#438)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent c6d7d85 commit 3a86eae
Copy full SHA for 3a86eae

1 file changed

-2Lines changed: 0 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bpython/curtsiesfrontend/repl.py‎

Copy file name to clipboardExpand all lines: bpython/curtsiesfrontend/repl.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,6 @@ def startup(self):
420420
self.interp.runsource(f.read(), filename, 'exec')
421421
else:
422422
self.interp.runsource(f.read(), filename, 'exec')
423-
else:
424-
raise IOError("Python startup file (PYTHONSTARTUP) not found at %s" % filename)
425423

426424
def clean_up_current_line_for_exit(self):
427425
"""Called when trying to exit to prep for final paint"""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.