From 11f83946824722a0abbee482e0f4cf2d8db23eb4 Mon Sep 17 00:00:00 2001 From: Tim Laszlo Date: Thu, 14 Jun 2012 10:40:01 -0500 Subject: bcfg2-reports: exclude clients without an interaction --- src/sbin/bcfg2-reports | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sbin/bcfg2-reports b/src/sbin/bcfg2-reports index 5d253af1e..e2e48ef79 100755 --- a/src/sbin/bcfg2-reports +++ b/src/sbin/bcfg2-reports @@ -211,7 +211,7 @@ def main(): if options.extra or options.show: print_entries(client.current_interaction, "extra") else: - clients = Client.objects.all() + clients = Client.objects.exclude(current_interaction__isnull=True) result = list() edata = dict() fields = options.fields.split(',') -- cgit v1.2.3-1-g7c22