Skip to content

Commit

Permalink
Merge pull request #2484 from SylvainCorlay/find_connection_file
Browse files Browse the repository at this point in the history
Remove unnecessary changes to detected kernel json file when connecting to external kernels
  • Loading branch information
ccordoba12 committed Jun 13, 2015
2 parents 5e31976 + 651397b commit a36ba4c
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 @@ -1058,8 +1058,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 a36ba4c

Please sign in to comment.