Skip to content

Commit

Permalink
[#2939] Fix error that must have existed for ever
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 10, 2012
1 parent 6f10ad4 commit bfac4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/action/get.py
Expand Up @@ -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]

Expand Down

0 comments on commit bfac4af

Please sign in to comment.