cli: fixed non-global import
parsetree: use INDENT consistently when generating python code