From e99233ab2b30c3f19ddd3f307a3f5314d5bb211d Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 17 Jun 2015 23:05:24 +0200 Subject: [PATCH] daklib/rm: Components can be None even when partial is True Signed-off-by: Niels Thykier --- daklib/rm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/rm.py b/daklib/rm.py index 00643b1e..f9917584 100644 --- a/daklib/rm.py +++ b/daklib/rm.py @@ -372,7 +372,7 @@ def remove(session, reason, suites, removals, if date is None: date = commands.getoutput("date -R") - if partial: + if partial and components: component_ids_list = [] for componentname in components: -- 2.39.5