pcperini/PyPKPass — pull request #2 by mattsnider (2012-10-11 18:51:42+00:00)
Title: Fixing Errors and Supporting Python < 2.7

These commits fix a couple of bugs I encountered when trying to run the program:
* self was missing in several places
* the images weren't being sha1'ed
* project.pkpass zipfile was including directory structure
* description is required in pass.json

Additionally, 'subprocess.check_output' was added to python in 2.7, so anyone using an older python couldn't use the this tool. I have added the function so it is backwards compatible with 2.6 and earlier versions of python.