diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-21 19:28:31 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-21 19:28:31 +0000 |
commit | ab894f604baf345c4b3f219072b78a4a5c4c878a (patch) | |
tree | 52701a4e6a9a48677489ab2f277c81187438557c /text.py | |
parent | d2776cd11ebad464aa545ff8d5ad52084d56bd8a (diff) | |
download | anaconda-ab894f604baf345c4b3f219072b78a4a5c4c878a.tar.gz anaconda-ab894f604baf345c4b3f219072b78a4a5c4c878a.tar.xz anaconda-ab894f604baf345c4b3f219072b78a4a5c4c878a.zip |
xserver configuration
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -296,8 +296,13 @@ class NetworkWindow: self.ns.set (ns) devices = todo.network.available () - if devices.items () == 0: + if not devices: return INSTALL_NOOP + + if todo.network.readData: + # XXX expert mode, allow changing network settings here + return INSTALL_NOOP + dev = devices[devices.keys ()[0]] firstg = Grid (1, 1) @@ -380,13 +385,13 @@ class PartitionWindow: if (not todo.setupFilesystems): return INSTALL_NOOP fstab = [] - for (mntpoint, (dev, fstype, reformat)) in todo.mounts.items (): + for mntpoint, (dev, fstype, reformat) in todo.mounts.items (): fstab.append ((dev, mntpoint)) if not todo.ddruid: todo.ddruid = fsedit(0, todo.drives.available ().keys (), fstab) dir = todo.ddruid.edit () - for (partition, mount, fstype, size) in todo.ddruid.getFstab (): + for partition, mount, fstype, size in todo.ddruid.getFstab (): todo.addMount(partition, mount, fstype) return dir @@ -560,7 +565,7 @@ class PackageDepWindow: "installed.")), 0, 0, (0, 0, 0, 1)) g.add (Label ("%-20s %-20s" % (_("Package"), _("Requirement"))), 0, 1, anchorLeft = 1) text = "" - for (name, suggest) in deps: + for name, suggest in deps: text = text + "%-20s %-20s\n" % (name, suggest) if len (deps) > 5: |