Code refactoring:- Changed tabs to spaces. Blacklist removes from apt indexes in one go (requiring only one lock operation).