Replace format() with old-style % operator to support 2.5
PEP8ify