X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Frm.py;h=e6940d53de99fce1268c2588842ddc04cdcb346d;hb=b7fd3112758e847ac708d7c10ef025eaad19687a;hp=f9917584b607d2059e5b1a56c07ece520eb4dd3a;hpb=e99233ab2b30c3f19ddd3f307a3f5314d5bb211d;p=dak.git diff --git a/daklib/rm.py b/daklib/rm.py index f9917584..e6940d53 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: @@ -585,6 +585,3 @@ def remove(session, reason, suites, removals, logfile.write("=========================================================================\n") logfile822.write("\n") - - fcntl.lockf(logfile822, fcntl.LOCK_UN) - fcntl.lockf(logfile, fcntl.LOCK_UN)