angrox/spacewalk-api-scripts — pull request #9 by wcooley (2014-05-23 20:14:00+00:00)
Title: Truncate `to_delete_ids`

My previous patch seemed correct because the "Delete package" messages counted correctly. Unfortunately, I neglected to truncate `to_delete_ids`, so all the packages would have still been deleted from channel. I've added the `len` of `to_delete_ids` to the output for confirmation.