]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/rm: Components can be None even when partial is True
authorNiels Thykier <niels@thykier.net>
Wed, 17 Jun 2015 21:05:24 +0000 (23:05 +0200)
committerNiels Thykier <niels@thykier.net>
Wed, 17 Jun 2015 21:05:24 +0000 (23:05 +0200)
Signed-off-by: Niels Thykier <niels@thykier.net>
daklib/rm.py

index 00643b1e5f1b09a850ba53f76c761718810e11e6..f9917584b607d2059e5b1a56c07ece520eb4dd3a 100644 (file)
@@ -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: