Looks likes some mixed indentation here.  Did you mix tabs / spaces?