From f1ce58299485f5683ea0ad8b6deb4c6200c7a619 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Wed, 29 Apr 2015 23:31:09 +0200 Subject: [PATCH] Compare with "unstable" instead of "sid" --- bootstrapvz/common/tasks/apt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrapvz/common/tasks/apt.py b/bootstrapvz/common/tasks/apt.py index 2ee8384..53c39f0 100644 --- a/bootstrapvz/common/tasks/apt.py +++ b/bootstrapvz/common/tasks/apt.py @@ -46,11 +46,11 @@ class AddBackports(Task): @classmethod def run(cls, info): - from bootstrapvz.common.releases import sid + from bootstrapvz.common.releases import unstable if info.source_lists.target_exists('{system.release}-backports'): msg = ('{system.release}-backports target already exists').format(**info.manifest_vars) logging.getLogger(__name__).info(msg) - elif info.manifest.release == sid: + elif info.manifest.release == unstable: logging.getLogger(__name__).info('There are no backports for sid/unstable') else: info.source_lists.add('backports', 'deb {apt_mirror} {system.release}-backports main')