From: Niels Thykier Date: Wed, 17 Jun 2015 21:05:24 +0000 (+0200) Subject: daklib/rm: Components can be None even when partial is True X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=sidebyside;h=e99233ab2b30c3f19ddd3f307a3f5314d5bb211d;p=dak.git daklib/rm: Components can be None even when partial is True Signed-off-by: Niels Thykier --- 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: