From: Alexis Laferrière Date: Thu, 16 Apr 2015 15:37:35 +0000 (-0400) Subject: contrib/inkscape_tools: remove old_style constructor and whitespace error X-Git-Tag: v0.7.4~12^2~6 X-Git-Url: http://nitlanguage.org contrib/inkscape_tools: remove old_style constructor and whitespace error Signed-off-by: Alexis Laferrière --- diff --git a/contrib/inkscape_tools/src/svg_to_png_and_nit.nit b/contrib/inkscape_tools/src/svg_to_png_and_nit.nit index b24cbf5..f718255 100644 --- a/contrib/inkscape_tools/src/svg_to_png_and_nit.nit +++ b/contrib/inkscape_tools/src/svg_to_png_and_nit.nit @@ -38,7 +38,6 @@ class ImageSetSrc super Template var name: String - init(name: String) do self.name = name var attributes = new Array[String] var load_exprs = new Array[String] @@ -177,7 +176,7 @@ for drawing in drawings do while not proc.eof do var line = proc.read_line var words = line.split(",") - + if words.length == 5 then var id = words[0]