Python 2.6 support

Hello,

I've added python 2.6 support, the only problem I actually came across was python 2.6 not supporting "{}".format(var, etc.) type string formatting. Python 2.6 is still used on RHEL/CentOS/Scientific Linux 6.x (latest at date of writing).