소스 검색

[python] Fix extern import line generation

Dan Korostelev 11 년 전
부모
커밋
f5e1bc0846
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      genpy.ml

+ 1 - 1
genpy.ml

@@ -1950,7 +1950,7 @@ module Generator = struct
 				spr_line ctx import;
 				spr_line ctx "except:\n\tpass"
 			end else
-				spr ctx import
+				spr_line ctx import
 		end
 
 	let gen_class ctx c =