From 730239f464be5654eda5fc54ced93df24108de59 Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Tue, 2 May 2017 12:37:15 -0700 Subject: [PATCH] Rip out dead `Bond.destinationIsOnRight` and `Bond.bidirectional`. NFC. --- copycat/bond.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/copycat/bond.py b/copycat/bond.py index aec2787..d88e664 100644 --- a/copycat/bond.py +++ b/copycat/bond.py @@ -21,11 +21,7 @@ class Bond(WorkspaceStructure): self.sourceDescriptor = sourceDescriptor self.destinationDescriptor = destinationDescriptor self.category = bondCategory - - self.destinationIsOnRight = self.destination == self.rightObject - self.bidirectional = (self.sourceDescriptor == - self.destinationDescriptor) - if self.bidirectional: + if (self.sourceDescriptor == self.destinationDescriptor): self.directionCategory = None def flippedVersion(self):