[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] daklib/rm: Components can be None even when partial is True



Signed-off-by: Niels Thykier <niels@thykier.net>
---
 daklib/rm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daklib/rm.py b/daklib/rm.py
index 00643b1..f991758 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.1.4


Reply to: