def fix_indentation(code, new_indents):
 min_indents = find_minimum_indents(code)
 return indent_lines(code, (new_indents - min_indents))

def fix_indentation ( code , new_indents ) : min_indents = find_minimum_indents ( code ) return indent_lines ( code , ( new_indents - min_indents ) )
replace tabs by spaces .