Improve parsing method of hosts in ssh_config. #431

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@ykalchevskiy
Contributor

There is a module in standard library for such parsing -- shlex.

@ykalchevskiy ykalchevskiy Improve parsing method of hosts in ssh_config.
There is a module in standard library for such parsing -- shlex.
0adb72f
@bitprophet
Member

Thanks, seems legit. If it's not legit, then we don't have enough tests, but I remember more being added when this parsing change was put in a while back.

@bitprophet bitprophet added this to the 1.15.2 et al milestone Nov 12, 2014
@ykalchevskiy
Contributor

The previous parsing code was also written by me. Current tests (https://github.com/paramiko/paramiko/blob/master/tests/test_util.py#L357) are suitable.

@lndbrg
Contributor
lndbrg commented Nov 13, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment