fixed compatibility with Python 2.6

With a very easy fix we could make Swagger 0.1.3 compatible with Python 2.6, since the new "format" is only supported in [Python 3.1 or above](https://docs.python.org/3/whatsnew/3.1.html#other-language-changes).