Get line by type
In get_emlines, the ltype must be passed as bytes. With Python 3, the default string is unicode and would return an empty list if the user does not take care and just pass a string.
With this changes, the code wouldn't work with Python 2 but mpdaf is supposed to support only Python 3 now.
Edited by Yannick Roehlly