Skip to content

Python 2.6 compatibility #143

Closed
shakeelmohamed wants to merge 3 commits intodevelopfrom
bugfix/python-2.6-compat
Closed

Python 2.6 compatibility #143
shakeelmohamed wants to merge 3 commits intodevelopfrom
bugfix/python-2.6-compat

Conversation

@shakeelmohamed
Copy link
Copy Markdown
Contributor

@shakeelmohamed shakeelmohamed commented May 19, 2016

This addresses all obvious errors when using Python 2.6, the issues are primarily in searchcommands.

TODOs:

  • Search commands tests don't pass trivially on Python 2.6 as they should (might fix this in a future release)

Closes #141

@shakeelmohamed
Copy link
Copy Markdown
Contributor Author

Please review @itay @David-Noble-at-work

Comment thread splunklib/results.py
from ordereddict import OrderedDict
from collections import OrderedDict # must be python 2.7
except ImportError:
from ordereddict import OrderedDict # for python 2.6, pip install ordereddict
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment is wrong - we don't need pip install, since we package it.

@itay
Copy link
Copy Markdown
Contributor

itay commented May 19, 2016

Looks good - fix the comments and squash and merge.

loganknecht and others added 3 commits May 19, 2016 11:55
…ce links. Also in 'splunklib/searchcommands/search_command.py' on line 1037 - the link is broken. It needs to be fixed.
Fixes issue #141 on GitHub
@shakeelmohamed shakeelmohamed force-pushed the bugfix/python-2.6-compat branch from 8e27152 to b9d60d7 Compare May 19, 2016 18:55
@shakeelmohamed shakeelmohamed deleted the bugfix/python-2.6-compat branch May 19, 2016 18:58
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.

3 participants