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

Fixed secondary_menu.py : 'odict_values' object does not support indexing #225

Merged
merged 11 commits into from Feb 19, 2017

Conversation

haricot
Copy link
Contributor

@haricot haricot commented Feb 12, 2017

In Python 3, the objects returned by keys, values, and items are dictionary view objects, which don't support indexing.

@haricot haricot changed the title Fixed: 'odict_values' object does not support indexing Fixed secondary_menu.py : 'odict_values' object does not support indexing Feb 19, 2017
.travis.yml Outdated
@@ -18,7 +17,10 @@ before_script:
- sh -e /etc/init.d/xvfb start
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py36; fi"
Copy link
Owner

Choose a reason for hiding this comment

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

is this a typo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok ! thanks

@jrief jrief merged commit 9be187f into jrief:releases/0.12.x Feb 19, 2017
@jrief
Copy link
Owner

jrief commented Feb 19, 2017

Thanks. Haven't been aware of this, since I'm still using Python-3.5

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