Fix python 2.6/centos 6 compatibility in logframe app.