sprhawk/Passbook — pull request #1 by olibook (2012-11-27 13:53:15+00:00)
Title: Use contextlib.closing for python 2.6 compatibility

Hi,

ZipFile is a context manager starting at python 2.7
For python 2.6 compatibility, I use contextlib.closing to close the zip stream when exiting the context.

With this fix the lib now runs on python 2.6
It has been tested with python 2.7 as well.