Fix inconsistent use of tabs and spaces in indentation

Small cleanup mostly to avoid Python3 TabError