]> git.decadent.org.uk Git - dak.git/commit - daklib/checks.py
use discard instead of remove
authorAnsgar Burchardt <ansgar@debian.org>
Fri, 6 Jul 2012 21:13:41 +0000 (15:13 -0600)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 7 Jul 2012 13:42:54 +0000 (07:42 -0600)
commita396b3f63909176bc36af01f525669e8201ad36d
tree68f4367df0452800cabe7c35c13cfbde8cca3afd
parentb740656a6cca0f69bb1a094fc0c8bcb930c56bf2
use discard instead of remove

Uploads that do not include source would trigger an exception when
remove is used.  discard does not raise an exception when the element
does not exist.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
daklib/checks.py