Fix pyton 2.6 error in logging
Merge pull request #142 from kwilcox/master

Fix python 2.6 error in logging