From bb88d6e6784f616ecf2d353cf360086249fff04f Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Sat, 20 Aug 2011 01:40:01 +0000 Subject: Fixed some syntax errors --- gentoo/NOTES | 4 ---- gentoo/utils.py | 4 ++-- iw/mirrorselect_gui.py | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 gentoo/NOTES diff --git a/gentoo/NOTES b/gentoo/NOTES deleted file mode 100644 index 530425d..0000000 --- a/gentoo/NOTES +++ /dev/null @@ -1,4 +0,0 @@ -Welcome to the Gentoo Linux Anaconda porting project. - -TODO: - - [FUTURE] iscsi/dasd stuff untested diff --git a/gentoo/utils.py b/gentoo/utils.py index 507ac82..276d536 100644 --- a/gentoo/utils.py +++ b/gentoo/utils.py @@ -776,7 +776,7 @@ class GentooInstall: stageurl = "http://distfiles.gentoo.org/releases/%s/autobuilds/%s" % (arch, stage) - os.system("wget -nc -O "+productPath+" %s " % stageurl) + anaconda._intf.instProgress.terminal.run_command("wget -nc -O "+productPath+" %s " % stageurl) action = _("Unpacking stage3") anaconda._intf.instProgress.terminal.run_command("tar xvjpf "+productPath+" -C "+self._root) @@ -895,7 +895,7 @@ class GentooInstall: anaconda._intf.instProgress.terminal.run_command("chroot "+self._root+" eselect kernel set 1") anaconda._intf.instProgress.terminal.run_command("cd "+self._root+"/usr/src/linux") anaconda._intf.instProgress.terminal.run_command("make && make modules && make modules_install") - shutil.copy2(self+.root+"/usr/src/linux/arch/x86/boot/bzImage", self._root+"/boot/kernel-gentoo") + shutil.copy2(self._root+"/usr/src/linux/arch/x86/boot/bzImage", self._root+"/boot/kernel-gentoo") self._progress.set_fraction(1.0) diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py index b5f2764..1e0291e 100644 --- a/iw/mirrorselect_gui.py +++ b/iw/mirrorselect_gui.py @@ -108,7 +108,7 @@ class MirrorselectWindow(InstallWindow): xml.get_widget("mirrors_viewport").add(treeview) def toggleCB(self, widget, path, model): - model[path][0] = not model[path][0] + model[path][0] = not model[path][0] def addMirrorRow(self, ts, country_ts, region, country, mirror, data): ipv4 = "" -- cgit v1.2.3-65-gdbad