From 3e619d6882c1566bb9b59e8008bf4eff1435ed78 Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Fri, 13 Sep 2019 07:01:02 +0530 Subject: [PATCH] firstboot: network connections not used, cleanup No longer showing network connections in firstboot. Removed dead code. Signed-off-by: Joseph Nuthalapati Reviewed-by: Sunil Mohan Adapa --- plinth/modules/first_boot/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/plinth/modules/first_boot/views.py b/plinth/modules/first_boot/views.py index 4bec3b936..bf52c32d4 100644 --- a/plinth/modules/first_boot/views.py +++ b/plinth/modules/first_boot/views.py @@ -21,7 +21,6 @@ from django.utils.translation import ugettext as _ from django.views.generic import TemplateView from django.views.generic.edit import FormView -from plinth import network from plinth.modules import first_boot from .forms import FirstbootWizardSecretForm @@ -62,7 +61,6 @@ class CompleteView(TemplateView): def get_context_data(self, **kwargs): """Add network connections to context list.""" context = super().get_context_data(**kwargs) - context['connections'] = network.get_connection_list() context['title'] = _('Setup Complete') context['firstboot_complete'] = True return context