Skip to content

Commit

Permalink
Backport PR #2484: Remove unnecessary changes to detected kernel json…
Browse files Browse the repository at this point in the history
… file when connecting to external kernels
  • Loading branch information
ccordoba12 committed Jun 13, 2015
1 parent fa6a989 commit 8465f81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spyderlib/plugins/ipythonconsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,8 +1057,6 @@ def _create_client_for_kernel(self, cf, hostname, kf, pw):
# Verifying if the connection file exists
cf = osp.basename(cf)
try:
if not cf.startswith('kernel') and not cf.endswith('json'):
cf = to_text_string('kernel-' + cf + '.json')
find_connection_file(cf, profile='default')
except (IOError, UnboundLocalError):
QMessageBox.critical(self, _('IPython'),
Expand Down

0 comments on commit 8465f81

Please sign in to comment.