From a444e6a3de731cecb42b2659c45cce21aadafd3f Mon Sep 17 00:00:00 2001 From: Tim Laszlo Date: Tue, 9 Oct 2012 06:02:53 -0500 Subject: Admin.Reports: Fix django command proxy --- src/lib/Bcfg2/Server/Admin/Reports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/Bcfg2/Server/Admin') diff --git a/src/lib/Bcfg2/Server/Admin/Reports.py b/src/lib/Bcfg2/Server/Admin/Reports.py index ee2f79b03..b95330d72 100644 --- a/src/lib/Bcfg2/Server/Admin/Reports.py +++ b/src/lib/Bcfg2/Server/Admin/Reports.py @@ -200,9 +200,9 @@ class Reports(Bcfg2.Server.Admin.Mode): def django_command_proxy(self, command): '''Call a django command''' if command == 'sqlall': - django.core.management.call_command(command, 'reports') + management.call_command(command, 'Reporting') else: - django.core.management.call_command(command) + management.call_command(command) @printStats -- cgit v1.2.3-1-g7c22