~givre/disk-manager/trunk

« back to all changes in this revision

Viewing changes to disk-manager/DiskManager/Dialogs.py

  • Committer: Mertens Florent
  • Date: 2011-05-02 19:33:36 UTC
  • Revision ID: flomertens@gmail.com-20110502193336-fvpp5bn7sm7fk9cn
* Dialogs.py, FstabData.py: #381717 Tries to remove floppy drive: 
  Black list floppy disk for sanity check.
* disk-manager.in: #771666 can't use disk-manager on fedora 14: 
  Fix python path hack.
* Utility.py: Fix get_user for browser functionality.
* configure.ac: release version 1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
        for entry in self.fstab.other :
344
344
            if re.search("(^UUID=|^LABEL=|^/dev/)", entry["FSTAB_NAME"]) \
345
345
                and entry["FSTAB_TYPE"] not in FstabData.ignore_fs \
346
 
                and re.search("^/", entry["FSTAB_PATH"]) and not entry["FSTAB_NAME"] in known :
 
346
                and entry["FSTAB_NAME"] not in FstabData.ignore_dev \
 
347
                and re.search("^/", entry["FSTAB_PATH"]) \
 
348
                and not entry["FSTAB_NAME"] in known :
347
349
                unknow_block.append(entry)
348
350
        if unknow_block :
349
351
            dial = dialog("warning", _("Removing unknown devices from\nthe configuration file?"), \