tdaff / remote_ikernel

All your Jupyter kernels, on all your machines, in one place.
https://pypi.org/project/remote_ikernel/
BSD 2-Clause "Simplified" License
17 stars 14 forks source link

Py3 support bug #14

Closed tdaff closed 8 years ago

tdaff commented 8 years ago

Original report by Anonymous.


File: kernel.py Function: check_password lines: 130, 131

    re_passphrase = re.search('Enter passphrase .*:', text)
    re_password = re.search('.*@.* password:', text)

should be changed to

    re_passphrase = re.search(b'Enter passphrase .*:', text)
    re_password = re.search(b'.*@.* password:', text)

since text is a byte object, not an str.

tdaff commented 8 years ago

Original comment by Tom Daff (Bitbucket: tdaff, GitHub: tdaff).


fixed in f9e68aa4d0b1