瀏覽代碼

[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 =