]> err.no Git - dak/commit
dak/rm.py: use database instead of file access
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 28 Jul 2013 13:35:21 +0000 (15:35 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 28 Jul 2013 13:35:21 +0000 (15:35 +0200)
commit67d9d6088c28ada9bca045d7b6c09c3982ad59e2
treed8797f0a6be0dbbe787cd298c9985f62990e6cf5
parent6417234f7d4b207df08a6d6396459f5cc91f9d29
dak/rm.py: use database instead of file access

The projectb database knows which binary packages is built from which
source package. So use this information instead of looking at the actual
files.

This makes the rm command faster and also works with an outdated version
of the archive, as for example present on the developer-accessible
mirror.
dak/rm.py