python indentation fix

bring this fix to hydro as well