From e73b41d7f6611f2783273fee4270e16e8520ec26 Mon Sep 17 00:00:00 2001
From: M Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr>
Date: Mon, 20 Sep 2010 08:45:09 +0000
Subject: [PATCH] revert *style* changes that break the script

---
 io_mesh_stl/stl_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/io_mesh_stl/stl_utils.py b/io_mesh_stl/stl_utils.py
index ff647b67e..912df356a 100644
--- a/io_mesh_stl/stl_utils.py
+++ b/io_mesh_stl/stl_utils.py
@@ -209,7 +209,7 @@ def read_stl(filename):
             # If the point is allready in the list of points, the
             # index returned by pts.add() will be the one from the
             # first equal point inserted.
-            tris.append(pts.add(p) for p in pt)
+            tris.append([pts.add(p) for p in pt])
 
     return tris, pts.list
 
-- 
GitLab