projekty
/
imago.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6043532
)
fix error in error-handling
author
Tomas Musil
<tomik.musil@gmail.com>
Thu, 3 Jul 2014 02:18:10 +0000
(
04:18
+0200)
committer
Tomas Musil
<tomik.musil@gmail.com>
Thu, 3 Jul 2014 02:18:10 +0000
(
04:18
+0200)
src/gridf3.py
patch
|
blob
|
history
diff --git
a/src/gridf3.py
b/src/gridf3.py
index
92f07c4
..
4f2a1e3
100644
(file)
--- a/
src/gridf3.py
+++ b/
src/gridf3.py
@@
-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:
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:
# there is not a corresponding intersection
# TODO create an intersection?
try: