Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support python 2.5 #101

Merged
merged 1 commit into from
Mar 26, 2012
Merged

Support python 2.5 #101

merged 1 commit into from
Mar 26, 2012

Conversation

midgetspy
Copy link
Contributor

Older LTS versions of ubuntu (and other OSes probably) rely fairly heavily on python 2.5. It's not much work to supported it so I did. Only two changes required:

  1. Use 2.5-style except statements (except Exception, e rather than except Exception as e)

  2. Fall back to the backport version of json (simplejson) if the json import fails

mrkipling added a commit that referenced this pull request Mar 26, 2012
@mrkipling mrkipling merged commit b1d3509 into mrkipling:master Mar 26, 2012
@mrkipling
Copy link
Owner

Sweet, sounds a like a worthwhile thing to do. Merged in.

@midgetspy midgetspy deleted the python_25 branch September 5, 2013 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants