diff options
author | 2011-08-20 01:40:01 +0000 | |
---|---|---|
committer | 2011-08-20 01:40:01 +0000 | |
commit | bb88d6e6784f616ecf2d353cf360086249fff04f (patch) | |
tree | aa926ab9bbdf0bb3d07d03dfc8f3b30502ad5adb | |
parent | Proper stage3 fetching (diff) | |
download | anaconda-bb88d6e6784f616ecf2d353cf360086249fff04f.tar.gz anaconda-bb88d6e6784f616ecf2d353cf360086249fff04f.tar.bz2 anaconda-bb88d6e6784f616ecf2d353cf360086249fff04f.zip |
Fixed some syntax errors
-rw-r--r-- | gentoo/NOTES | 4 | ||||
-rw-r--r-- | gentoo/utils.py | 4 | ||||
-rw-r--r-- | iw/mirrorselect_gui.py | 2 |
3 files changed, 3 insertions, 7 deletions
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 = "" |