diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-10-09 06:02:53 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-10-09 06:02:53 -0500 |
commit | a444e6a3de731cecb42b2659c45cce21aadafd3f (patch) | |
tree | bfb2383517cbf7a6baceec5387492a03d60239ee /src/lib | |
parent | 0a30930dd86eff94b02b2b1efaa123ad342d9b53 (diff) | |
download | bcfg2-a444e6a3de731cecb42b2659c45cce21aadafd3f.tar.gz bcfg2-a444e6a3de731cecb42b2659c45cce21aadafd3f.tar.bz2 bcfg2-a444e6a3de731cecb42b2659c45cce21aadafd3f.zip |
Admin.Reports: Fix django command proxy
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Bcfg2/Server/Admin/Reports.py | 4 |
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 |