diff options
author | Dan McGee <dan@archlinux.org> | 2014-12-08 20:28:54 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-12-08 20:28:54 -0600 |
commit | 1a2709552704a91f9601a13c350153b3daf3a455 (patch) | |
tree | fd1c587f3de6d3bac667ec2857d5c1fd1a1ca16c | |
parent | 60327d96a687669d8b8842ecf0ac16c11a8f6483 (diff) |
Fix issue with memcache being unable to pickle new QS
When we changed the query here, things got a little weird and we could
no longer pickle.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | devel/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/utils.py b/devel/utils.py index 68ae5bdc..bd57def9 100644 --- a/devel/utils.py +++ b/devel/utils.py @@ -45,7 +45,8 @@ SELECT pr.user_id, COUNT(*), COUNT(p.flag_date) m.flagged_count = flag_count.get(m.id, 0) m.updated_count = update_count.get(m.id, 0) - return maintainers + # force non-QS context, otherwise pickling doesn't work + return list(maintainers) def ignore_does_not_exist(func): |