summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-01 21:42:33 +0000
committerMatt Wilson <msw@redhat.com>2000-02-01 21:42:33 +0000
commit2eec78ddea45dc6d2e85eef78fa0d59be1220e8d (patch)
treee7074ad38778223e4bdd5c33ccb91a019dddc68d /text.py
parentd8be426f1622d7c95d8ede3118c87dac5baa1a0e (diff)
downloadanaconda-2eec78ddea45dc6d2e85eef78fa0d59be1220e8d.tar.gz
anaconda-2eec78ddea45dc6d2e85eef78fa0d59be1220e8d.tar.xz
anaconda-2eec78ddea45dc6d2e85eef78fa0d59be1220e8d.zip
recurse the SEE references from the Cards database
Diffstat (limited to 'text.py')
-rw-r--r--text.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/text.py b/text.py
index a0942dc17..b863acf6a 100644
--- a/text.py
+++ b/text.py
@@ -641,8 +641,10 @@ class XConfigWindow:
else:
card = carddb[cards[choice]]
- if card.has_key ("SEE"):
- card = carddb[card["SEE"]]
+ depth = 0
+ while depth < 16 and card.has_key ("SEE"):
+ card = carddb[card["SEE"]]
+ depth = depth + 1
todo.x.setVidcard (card)