diff options
author | Erik Troan <ewt@redhat.com> | 2000-05-05 20:22:11 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-05-05 20:22:11 +0000 |
commit | 17a701fe7834064248c7e5b8728ceea448c4b6ba (patch) | |
tree | 6296612f321399e385c8986fbb75675e0f107b82 /todo.py | |
parent | 93012868d17c85c679e37251cffa0c2c70dae673 (diff) | |
download | anaconda-17a701fe7834064248c7e5b8728ceea448c4b6ba.tar.gz anaconda-17a701fe7834064248c7e5b8728ceea448c4b6ba.tar.xz anaconda-17a701fe7834064248c7e5b8728ceea448c4b6ba.zip |
use symbolc names for balkan partition types
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -233,10 +233,13 @@ class Language (SimpleConfigFile): def get (self): return self.lang + def getFontMap (self, lang): + return self.map[lang] + def getFontFile (self, lang): # Note: in /etc/fonts.cgz fonts are named by the map # name as that's unique, font names are not - return self.map[lang] + return self.font[lang] class Authentication: def __init__ (self): @@ -669,8 +672,7 @@ class ToDo: else: for i in range (len (table)): (type, sector, size) = table[i] - # 2 is ext2 in balkan speek - if size and type == 2: + if size and type == _balkan.EXT2: # for RAID arrays of format c0d0p1 if drive [:3] == "rd/" or drive [:4] == "ida/": dev = drive + 'p' + str (i + 1) |