Fix Sections "__getitem__" for index greater than 1. #22

Merged
merged 1 commit into from Apr 23, 2014

Conversation

Projects
None yet
2 participants
Contributor

ncjones commented Apr 23, 2014

The previous implementation of Sections.getitem always failed if the index was greater than 1.

@ncjones ncjones Fix Sections "__getitem__" for index greater than 1.
ec7d229

@ncjones thanks!

Owner

alisaifee commented Apr 23, 2014

I've added another testcase before merging the pull request that demonstrates the bug e326233.

@alisaifee alisaifee added a commit that referenced this pull request Apr 23, 2014

@alisaifee alisaifee Merge pull request #22 from ncjones/sections-item-at-index
Fix Sections "__getitem__" for index greater than 1.
c4e1b50

@alisaifee alisaifee merged commit c4e1b50 into alisaifee:master Apr 23, 2014

1 of 2 checks passed

continuous-integration/travis-ci The Travis CI build could not complete due to an error
Details
continuous-integration/wercker Build finished
Details
Owner

alisaifee commented Apr 23, 2014

0.7.4 contains the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment