Replace tabs with spaces
This commit is contained in:
parent
e67832d384
commit
e82148677d
@ -274,8 +274,7 @@ class RelationshipCalculator(gramps.gen.relationship.RelationshipCalculator):
|
||||
if level >= 0 and level < len(_son_level):
|
||||
return t_inlaw +_son_level[level]
|
||||
|
||||
elif level >= len(_son_level) \
|
||||
and (level - 1) < len(_level_name):
|
||||
elif level >= len(_son_level) and (level - 1) < len(_level_name):
|
||||
return t_inlaw + \
|
||||
"potomek męski %s pokolenia" % _level_name[level - 1]
|
||||
|
||||
@ -304,8 +303,7 @@ class RelationshipCalculator(gramps.gen.relationship.RelationshipCalculator):
|
||||
if level >= 0 and level < len(_daughter_level):
|
||||
return t_inlaw + _daughter_level[level]
|
||||
|
||||
elif level >= len(_daughter_level) \
|
||||
and (level - 1) < len(_level_name):
|
||||
elif level >= len(_daughter_level) and (level - 1) < len(_level_name):
|
||||
return t_inlawM + \
|
||||
"potomek żeński %s pokolenia" % _level_name[level - 1]
|
||||
else:
|
||||
@ -434,8 +432,7 @@ class RelationshipCalculator(gramps.gen.relationship.RelationshipCalculator):
|
||||
else:
|
||||
return t_inlaw + _father_level[level]
|
||||
|
||||
elif level >= len(_father_level) \
|
||||
and (level - 1) < len(_level_name):
|
||||
elif level >= len(_father_level) and (level - 1) < len(_level_name):
|
||||
# jeśli istnieje liczebnik dla danej liczby
|
||||
return t_inlaw + \
|
||||
"przodek męski %s pokolenia" % (_level_name[level - 1])
|
||||
@ -472,8 +469,7 @@ class RelationshipCalculator(gramps.gen.relationship.RelationshipCalculator):
|
||||
else:
|
||||
return t_inlaw + _mother_level[level]
|
||||
|
||||
elif level >= len(_mother_level) \
|
||||
and (level - 1) < len(_level_name):
|
||||
elif level >= len(_mother_level) and (level - 1) < len(_level_name):
|
||||
# jeśli istnieje liczebnik dla danej liczby
|
||||
return t_inlaw + \
|
||||
"przodek żeński %s pokolenia" % (_level_name[level - 1])
|
||||
|
Loading…
Reference in New Issue
Block a user