deconf: py3 support

restore py3 support :}