diff options
author | Chris Lumens <clumens@redhat.com> | 2006-07-11 15:42:58 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-07-11 15:42:58 +0000 |
commit | dd10eaa60c6b6e0903d1e1977339eb6d61b0e770 (patch) | |
tree | 3b7ce5836b35aa06a22065864ca4dfd80fda4185 /bootloader.py | |
parent | 6725624ecc1284120c475edabb38f7ecfc1dbb72 (diff) | |
download | anaconda-dd10eaa60c6b6e0903d1e1977339eb6d61b0e770.tar.gz anaconda-dd10eaa60c6b6e0903d1e1977339eb6d61b0e770.tar.xz anaconda-dd10eaa60c6b6e0903d1e1977339eb6d61b0e770.zip |
Check the UTC box on the text interface automatically if there's no Windows
partitions.
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootloader.py b/bootloader.py index 692a18c49..41934f121 100644 --- a/bootloader.py +++ b/bootloader.py @@ -204,3 +204,12 @@ def getBootloader(): return booty.getBootloader() else: return bootloaderInfo.isolinuxBootloaderInfo() + +def hasWindows(bl): + foundWindows = False + for (k,v) in bl.images.getImages().iteritems(): + if v[0].lower() == 'other' and v[2] in dosFilesystems: + foundWindows = True + break + + return foundWindows |