From e033c81cdb58b23208289631f5b27df89ce64a69 Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Sun, 21 Aug 2011 00:03:11 +0000 Subject: gentoo/__init__.py: fall back to webrsync --- gentoo/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gentoo/__init__.py b/gentoo/__init__.py index e01844b..a0cbeec 100644 --- a/gentoo/__init__.py +++ b/gentoo/__init__.py @@ -33,7 +33,9 @@ class Portage: def sync(self): self.term.run_command("chroot "+self.root+" emerge --sync") if self.term.get_child_exit_status() != 0: - return False + self.term.run_command("chroot "+self.root+" emerge-webrsync") + if self.term.get_child_exit_status() != 0: + return False self.term.run_command("chroot "+self.root+" emerge --update portage") if self.term.get_child_exit_status() == 0: return True -- cgit v1.2.3-65-gdbad