fix error in error-handling
authorTomas Musil <tomik.musil@gmail.com>
Thu, 3 Jul 2014 02:18:10 +0000 (04:18 +0200)
committerTomas Musil <tomik.musil@gmail.com>
Thu, 3 Jul 2014 02:18:10 +0000 (04:18 +0200)
src/gridf3.py

index 92f07c4..4f2a1e3 100644 (file)
@@ -105,7 +105,7 @@ def gen_corners(d1, d2):
             c3 = [p for p in d1.points if p in c2.l2.points][0]
             c4 = [p for p in d2.points if p in c3.l1.points][0]
         except IndexError:
-            pass
+            continue
             # there is not a corresponding intersection
             # TODO create an intersection?
         try: