diff options
author | Matt Wilson <msw@redhat.com> | 2000-02-15 02:41:17 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-02-15 02:41:17 +0000 |
commit | 8f858edd633cf0f64001a881fea30378aafda264 (patch) | |
tree | 679d8fe1e33d45711b0d8cca42cafda676cfc207 /iw | |
parent | b579701d64e2db517dd8c948b846a4bbed8b0ad1 (diff) | |
download | anaconda-8f858edd633cf0f64001a881fea30378aafda264.tar.gz anaconda-8f858edd633cf0f64001a881fea30378aafda264.tar.xz anaconda-8f858edd633cf0f64001a881fea30378aafda264.zip |
sanity check before indexing list
Diffstat (limited to 'iw')
-rw-r--r-- | iw/xconfig.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/iw/xconfig.py b/iw/xconfig.py index b981d5cdc..8872fbbe8 100644 --- a/iw/xconfig.py +++ b/iw/xconfig.py @@ -392,7 +392,8 @@ class XConfigWindow (InstallWindow): for card in cards: row = self.cardList.append ((card,)) self.cardList.set_row_data (row, card) - if card == self.todo.x.vidCards[self.todo.x.primary]["NAME"]: + if (self.todo.x.vidCards + and card == self.todo.x.vidCards[self.todo.x.primary]["NAME"]): select = row self.cardList.connect ("draw", self.moveto, select) sw = GtkScrolledWindow () |