gabrielfalcao/HTTPretty — pull request #33 by hughsaunders (2013-02-19 11:24:06+00:00)
Title: fix missing dictionary conversion in URIMatcher.get_next_entry.

In yesterday's patch, I missed one conversion from self.current_entries --> self.current_entries[method]. This affected the order of returned results. If two responses were registered, a and b, then the return order was:

a
b
b
a
b
b
a
...

This patch fixes the order to be as expected.
a
b
b
b
...