fix python 2.6 error
Merge pull request #2192 from dimagi/fix_jenkins

fix python 2.6 error