upgrades: Remove unused context variable

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2020-07-13 14:47:23 -07:00 committed by James Valleroy
parent b0fa7ff27c
commit 56c402fb8b
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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