chiark / gitweb /
it's great-uncle not grand-uncle
authornaath <naath@chiark.greenend.org.uk>
Sun, 30 Mar 2014 12:30:28 +0000 (13:30 +0100)
committernaath <naath@chiark.greenend.org.uk>
Sun, 30 Mar 2014 12:30:28 +0000 (13:30 +0100)
familyTree/askQuestion.py

index 5f9b6fb40f575c0dcac81f82bff09498e18a6dd8..7bb39cdf920c49989d56d4cb0a9c6560aad17152 100755 (executable)
@@ -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):