From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 16C33138334 for ; Wed, 6 Nov 2019 20:04:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22D53E09C2; Wed, 6 Nov 2019 20:04:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 078C0E09C2 for ; Wed, 6 Nov 2019 20:04:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B008A34C9B6 for ; Wed, 6 Nov 2019 20:04:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 007727F9 for ; Wed, 6 Nov 2019 20:04:14 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1573070622.47e0d5b5390873edd0020245307b0febad84a5b5.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/_emirrordist/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/_emirrordist/FetchTask.py X-VCS-Directories: lib/portage/_emirrordist/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 47e0d5b5390873edd0020245307b0febad84a5b5 X-VCS-Branch: master Date: Wed, 6 Nov 2019 20:04:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 67b84f8b-820c-4214-b7c3-675b6eae1e8c X-Archives-Hash: 709e5050fdbc2c4fc5451ffa6e2e096b commit: 47e0d5b5390873edd0020245307b0febad84a5b5 Author: Zac Medico gentoo org> AuthorDate: Wed Nov 6 19:56:52 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Nov 6 20:03:42 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=47e0d5b5 emirrordist: _make_layout_links msg UnboundLocalError Fixes: 0d34d89d5028 ("emirrordist: Implement mirror layout.conf support") Bug: https://bugs.gentoo.org/699392 Signed-off-by: Zac Medico gentoo.org> lib/portage/_emirrordist/FetchTask.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/portage/_emirrordist/FetchTask.py b/lib/portage/_emirrordist/FetchTask.py index 6f547d397..ca573fa49 100644 --- a/lib/portage/_emirrordist/FetchTask.py +++ b/lib/portage/_emirrordist/FetchTask.py @@ -585,6 +585,8 @@ class FetchTask(CompositeTask): self._success() self.returncode = os.EX_OK else: + msg = "failed to create distfiles layout {}".format( + "symlink" if self.config.options.symlinks else "hardlink") self.config.log_failure("%s\t%s\t%s" % (self.cpv, self.distfile, msg)) self.config.file_failures[self.distfile] = self.cpv