diff --git a/samples/filter_sort_groups.py b/samples/filter_sort_groups.py index abf2506d..1694bf0f 100644 --- a/samples/filter_sort_groups.py +++ b/samples/filter_sort_groups.py @@ -106,9 +106,8 @@ def main(): groups = [urllib.parse.quote_plus(group) for group in ["SALES NORTHWEST", "SALES ROMANIA", "this_group"]] print(groups) - # BUG: this loop seems to continue making requests long after we've seen all groups - # for group in server.groups.filter(name__in=groups).order_by("-name"): - # print(group.name) + for group in server.groups.filter(name__in=groups).order_by("-name"): + print(group.name) print("done")