From 1bbdd4e04e81e1dba595298f45eb2dcb7b8d7754 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 4 Sep 2008 13:44:46 +0000 Subject: [PATCH] Fixed error in cousin relation. svn: r11018 --- src/plugins/rel_sv.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/plugins/rel_sv.py b/src/plugins/rel_sv.py index 4b525c349..2e0417e7d 100644 --- a/src/plugins/rel_sv.py +++ b/src/plugins/rel_sv.py @@ -186,10 +186,6 @@ class RelationshipCalculator(Relationship.RelationshipCalculator): result.append('mor') if inlaw != '' : inlaw = 'ingifta ' - if len(result) % 2 != 0: - # Correct string "-1" with genitive s and add a space to get - # correct Swedish, if odd number of ancestors - result[-1] = result[-1] + 's ' result.append(self._get_cousin(level, step, inlaw)) if step != '' and len(result)==1: result[0] = self.STEP + result[0]