]> git.decadent.org.uk Git - dak.git/commit
daklib/archive.py: fix copying between components
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 26 Sep 2013 07:13:44 +0000 (09:13 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 26 Sep 2013 07:13:44 +0000 (09:13 +0200)
commit9577d0bfe2d33afc1033f4b571a50fb7c980de6b
tree6dc2089b20a6582004c91154bbd453bd5b9c76e5
parent4db39fc2fdceac5ddae30507a65f24b3fe694137
daklib/archive.py: fix copying between components

The _copy_file() method needs to check if the file is already in the target
component. Having it in any component is not enough if it should be copied to
an additional component in the same archive.
daklib/archive.py