From bfac4af800062ff8cfd121da700999a64c5f9960 Mon Sep 17 00:00:00 2001 From: tobes Date: Wed, 10 Oct 2012 15:10:00 +0100 Subject: [PATCH] [#2939] Fix error that must have existed for ever --- ckan/logic/action/get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/logic/action/get.py b/ckan/logic/action/get.py index 489d17026cd..d18d466f825 100644 --- a/ckan/logic/action/get.py +++ b/ckan/logic/action/get.py @@ -433,7 +433,7 @@ def group_list_authz(context, data_dict): if available_only: package = context.get('package') if package: - groups = groups - set(package.get_groups()) + groups = set(groups) - set(package.get_groups()) return [{'id':group.id,'name':group.name} for group in groups]