angrox / spacewalk-api-scripts

Addon script for spacewalk to sync RHN packages to a local spacewalk server
GNU General Public License v3.0
67 stars 32 forks source link

Truncate `to_delete_ids` #9

Closed wcooley closed 10 years ago

wcooley commented 10 years ago

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.