Additional refactoring to use the QuerySequence wrapper, so that we can still
commita4bbc7c4fcea5596ab9f5a3d82983ddcf6d25909
authorBarry Warsaw <barry@python.org>
Thu, 7 Jan 2016 03:43:04 +0000 (6 22:43 -0500)
committerBarry Warsaw <barry@python.org>
Thu, 7 Jan 2016 03:43:04 +0000 (6 22:43 -0500)
tree7604553e6005ab869dfb1fc0fb182069ae36c176
parente4167544b41f065b29a27ef5f9e27283557185f2
Additional refactoring to use the QuerySequence wrapper, so that we can still
use len() and slicing on SQLAlchemy query results.  We also don't need to
list()-ify the results in the tests.  This isn't perfect, but at least it
doesn't introduce yet another layer violation.
src/mailman/app/subscriptions.py
src/mailman/app/tests/test_subscriptions.py
src/mailman/commands/eml_membership.py
src/mailman/rest/helpers.py
src/mailman/rest/lists.py
src/mailman/rest/members.py
src/mailman/rest/post_moderation.py
src/mailman/runners/tests/test_join.py
src/mailman/utilities/queries.py [new file with mode: 0644]