From 56c402fb8ba539170e068f9ec86d1ef3b6ddd1e9 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 13 Jul 2020 14:47:23 -0700 Subject: [PATCH] upgrades: Remove unused context variable Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/upgrades/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/plinth/modules/upgrades/views.py b/plinth/modules/upgrades/views.py index 51ed0c141..61ec6a661 100644 --- a/plinth/modules/upgrades/views.py +++ b/plinth/modules/upgrades/views.py @@ -29,8 +29,6 @@ class UpgradesConfigurationView(AppView): def get_context_data(self, *args, **kwargs): context = super().get_context_data(*args, **kwargs) context['can_activate_backports'] = upgrades.can_activate_backports() - _, dist = upgrades.get_current_release() - context['dist'] = dist context['is_busy'] = package.is_package_manager_busy() context['log'] = get_log() context['refresh_page_sec'] = 3 if context['is_busy'] else None