Fix compatibility with Python 3 Gaudi
backward compatible, but required for gaudi/Gaudi!875 (merged) (to be backported to run2-patches too).
Edited by Marco Clemencic
backward compatible, but required for gaudi/Gaudi!875 (merged) (to be backported to run2-patches too).