summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Admin
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-10-09 06:02:53 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-10-09 06:02:53 -0500
commita444e6a3de731cecb42b2659c45cce21aadafd3f (patch)
treebfb2383517cbf7a6baceec5387492a03d60239ee /src/lib/Bcfg2/Server/Admin
parent0a30930dd86eff94b02b2b1efaa123ad342d9b53 (diff)
downloadbcfg2-a444e6a3de731cecb42b2659c45cce21aadafd3f.tar.gz
bcfg2-a444e6a3de731cecb42b2659c45cce21aadafd3f.tar.bz2
bcfg2-a444e6a3de731cecb42b2659c45cce21aadafd3f.zip
Admin.Reports: Fix django command proxy
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