chiark
/
gitweb
/
~naath
/
familyTree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b221a9
)
it's great-uncle not grand-uncle
author
naath
<naath@chiark.greenend.org.uk>
Sun, 30 Mar 2014 12:30:28 +0000
(13:30 +0100)
committer
naath
<naath@chiark.greenend.org.uk>
Sun, 30 Mar 2014 12:30:28 +0000
(13:30 +0100)
familyTree/askQuestion.py
patch
|
blob
|
history
diff --git
a/familyTree/askQuestion.py
b/familyTree/askQuestion.py
index 5f9b6fb40f575c0dcac81f82bff09498e18a6dd8..7bb39cdf920c49989d56d4cb0a9c6560aad17152 100755
(executable)
--- a/
familyTree/askQuestion.py
+++ b/
familyTree/askQuestion.py
@@
-331,7
+331,10
@@
def parent_level(level,type):
out = type
if level ==1:
return out
- out = 'grand '+out
+ if type =='parent':
+ out = 'grand '+out
+ else:
+ out = 'great '+out
if level ==2:
return out
for i in range(2,level):