Mercurial > p > roundup > code
diff roundup/token.py @ 5807:0467d80eaeec
Try to deal with this warning/error: DeprecationWarning: generator
'iter_roles' raised StopIteration
PEP479 specifies how to rework it by using return rather than raise
StopIteration.
I am not sure if this is right, but
test/test_cgi.py::FormTestCase::testRoles is still passing.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 12 Jun 2019 19:38:33 -0400 |
| parents | 0942fe89e82e |
| children | 7d276bb8b46d |
