Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Add actions to show sys.path and environment variables contents to the IPython console #4562

Merged
merged 7 commits into from
Jun 5, 2017
Prev Previous commit
Next Next commit
IPython console: Fix error when running tests
  • Loading branch information
ccordoba12 committed Jun 4, 2017
commit d675ff2be0bb1cdb6eb8f5e1613ae7d3d467ce13
6 changes: 5 additions & 1 deletion spyder/widgets/ipythonconsole/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,11 @@ def get_options_menu(self):
)

additional_actions = [MENU_SEPARATOR, env_action, syspath_action]
return self.menu_actions + additional_actions

if self.menu_actions is not None:
return self.menu_actions + additional_actions
else:
return additional_actions

def get_toolbar_buttons(self):
"""Return toolbar buttons list."""
Expand Down