tests: python 2.6 travis test

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
global: python 2.6 fixes

* Fixes Python 2.6 issues.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>