Issue #31 resolved

Canadian provinces function borked.

ryanpetrello
created an issue

http://bitbucket.org/bbangert/webhelpers/src/tip/webhelpers/constants.py#cl-523

Should read as: {{{

!python

return [(x[1], x[0]) for x in provinces] }}}

Currently, this line throws IndexError: tuple index out of range.

To be honest, I'm not quite sure the sort is even necessary here - the tuple already appears to be sorted alphabetically to me.

Comments (1)

  1. Log in to comment