From 4fa697997deb962931aa199285031af619d1918a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Wed, 1 Sep 2004 11:47:24 +0000 Subject: [PATCH] we also do not need to check for intersections here since it will always be true (my second try to check this in -- sorry) git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@1872 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/connector.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyx/connector.py b/pyx/connector.py index 7f450ff8..86bbb259 100644 --- a/pyx/connector.py +++ b/pyx/connector.py @@ -65,8 +65,7 @@ class connector_pt(path.normpath): pass else: sp = self.intersect(cutpath)[0] - if sp: - self.normsubpaths = self.split(sp[-1:])[1].normsubpaths + self.normsubpaths = self.split(sp[-1:])[1].normsubpaths # cut off the end of self center = self.end_pt() @@ -77,8 +76,7 @@ class connector_pt(path.normpath): pass else: sp = self.intersect(cutpath)[0] - if sp: - self.normsubpaths = self.split(sp[:1])[0].normsubpaths + self.normsubpaths = self.split(sp[:1])[0].normsubpaths ################ -- 2.11.4.GIT