Skip to content
Snippets Groups Projects
Commit c90e9798 authored by Tim Fechner's avatar Tim Fechner Committed by Tim Fechner
Browse files

Remove unwanted prints in management command

parent be045e1c
No related branches found
No related tags found
No related merge requests found
......@@ -11,15 +11,11 @@ class Command(ApiCommand, BaseCommand):
help = 'Fetch and save new data from all servers'
def save_packages(self, api):
print('Fetching packages ...')
packages = api.get_server_module_data('pkg.list_pkgs')
print('Fetching upgrades ...')
upgrades = api.get_server_module_data('pkg.list_upgrades')
for minion_fqdn, minion_packages in packages.items():
print('Handling {}'.format(minion_fqdn))
minion = Minion.objects.filter(fqdn=minion_fqdn).first()
minion_data = json.loads(minion.data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment