Add back-compat for old-style sentry indexing #111

Open
tvansteenburgh opened this Issue Dec 4, 2015 · 1 comment

Comments

Projects
None yet
2 participants
Member

tvansteenburgh commented Dec 4, 2015

When a test does sentry['mycharm/0'], do sentry['mycharm'][0] behind-the-scenes instead of returning a KeyError. I.e., use the unit num as an index into the sentry array. This will make old tests work again without having to update them all. Arguably this is what we should have done in the first place.

Member

johnsca commented Dec 4, 2015

+1

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