upgrades: Fix issue with checking if backports is current

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-09-08 15:27:15 -07:00 committed by James Valleroy
parent d2f6fe9556
commit 86de956118
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -165,7 +165,7 @@ def get_current_release():
def is_backports_current():
"""Return whether backports are enabled for the current release."""
if not is_backports_enabled:
if not is_backports_enabled():
return False
_, dist = get_current_release()