[dak/master] daklib/rm: Fix boolean inversion on partial removals
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 f991758..92cd590 100644
--- a/daklib/rm.py
+++ b/daklib/rm.py
@@ -465,7 +465,7 @@ def remove(session, reason, suites, removals,
session.execute("DELETE FROM bin_associations WHERE bin = :packageid AND suite = :suiteid",
{'packageid': package_id, 'suiteid': suite_id})
# Delete from the override file
- if partial:
+ if not partial:
if architecture == "source":
type_id = dsc_type_id
else:
--
2.1.4
Reply to: