summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Admin
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Server/Admin')
-rw-r--r--src/lib/Bcfg2/Server/Admin/Reports.py4
1 files changed, 2 insertions, 2 deletions
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