On Fri, Jun 06, 2014 at 03:01:55PM +0200, Lukas Slebodnik wrote:
ehlo,
A user reported problem with the sss_obfuscate script on sssd-users mailing
list[1]. The problem was that default version of python was not python 2.x.
We have a ticket fot python 3 support
https://fedorahosted.org/sssd/ticket/2017
Meanwhile, we should have python2 in shebang.
I think it is a good idea to get some interim fix, but are you sure that
python2 is always available?
As an alternativ what do you think about a
if sys.version_info.major > 2
check at the beginning of a script which tell the user that the script
will not work with python 3 and aborts?
bye,
Sumit
Simple patch is attached.
LS