Python 2.6 compatibility fix

We'll test this in the context of Jenkins

Signed-off-by: David Noble <dnoble@splunk.com>