Fixed also for Python 2
Fixed also for Python 2


Former-commit-id: d6ede9b79148e54f8182376cd1f8c115d71d565b [formerly 2ff9d3549110a3dabb127efcc9b6174f1541672a]
Former-commit-id: 14159acb7136534d9596510c0c67d7b034ed6d8b
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine