diff options
author | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-12 01:08:43 +0000 |
---|---|---|
committer | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-12 01:08:43 +0000 |
commit | c659c0377c721d70278cac8545a94e6f408f9fff (patch) | |
tree | 04fd135d7ae3c3f536891c9906af99faf478af9f /gentoo/utils.py | |
parent | gentoo/utils.py: copy the kernel where GRUB can find them (diff) | |
download | anaconda-c659c0377c721d70278cac8545a94e6f408f9fff.tar.gz anaconda-c659c0377c721d70278cac8545a94e6f408f9fff.tar.bz2 anaconda-c659c0377c721d70278cac8545a94e6f408f9fff.zip |
gentoo/utils.py: fix broken logger
Diffstat (limited to 'gentoo/utils.py')
-rw-r--r-- | gentoo/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gentoo/utils.py b/gentoo/utils.py index e0cba33..0652391 100644 --- a/gentoo/utils.py +++ b/gentoo/utils.py @@ -271,12 +271,12 @@ class GentooInstall: def install_package(self, atom, match = None, silent = False, fetch = False): if not self._portage.install(atom): log = open("/tmp/emerge-fail.log", "a") - log.writeln(atom+" failed to install, trying again with make -j1") + log.write(atom+" failed to install, trying again with make -j1\n") log.close() os.environ["MAKEOPTS"] = "-j1" if not self._portage.install(atom): log = open("/tmp/emerge-fail.log", "a") - log.writeln(atom+" failed to install the second time :(") + log.writeln(atom+" failed to install the second time :(\n") log.close() del os.environ["MAKEOPTS"] |