]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/rm: Fix boolean inversion on partial removals
authorNiels Thykier <niels@thykier.net>
Thu, 18 Jun 2015 15:13:40 +0000 (17:13 +0200)
committerNiels Thykier <niels@thykier.net>
Thu, 18 Jun 2015 15:15:38 +0000 (17:15 +0200)
Signed-off-by: Niels Thykier <niels@thykier.net>
daklib/rm.py

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