Skip to content

Instantly share code, notes, and snippets.

@yetti
Created April 23, 2013 10:43
Show Gist options
  • Save yetti/5442576 to your computer and use it in GitHub Desktop.
Save yetti/5442576 to your computer and use it in GitHub Desktop.
Fixes installation issue in Sublime Package Control for packages with null versions.
try:
new_version = 'v' + download['version']
except:
print '%s: Error parsing JSON from repository %s.' % (info.get('name'), self.repo)
print '%s: Download version is null.' % (info.get('name'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment