From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4BFCF59CA3 for ; Sun, 6 Mar 2016 17:47:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B361121C009; Sun, 6 Mar 2016 17:47:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6892A21C009 for ; Sun, 6 Mar 2016 17:47:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7FA713409EF for ; Sun, 6 Mar 2016 17:47:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 673C38F6 for ; Sun, 6 Mar 2016 17:47:30 +0000 (UTC) From: "Magnus Granberg" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" Message-ID: <1457286478.2fe8d223790b5f40b42e41f3ed80b59d408aaa05.zorry@gentoo> Subject: [gentoo-commits] proj/tinderbox-cluster:master commit in: pym/tbc/ X-VCS-Repository: proj/tinderbox-cluster X-VCS-Files: pym/tbc/build_job.py X-VCS-Directories: pym/tbc/ X-VCS-Committer: zorry X-VCS-Committer-Name: Magnus Granberg X-VCS-Revision: 2fe8d223790b5f40b42e41f3ed80b59d408aaa05 X-VCS-Branch: master Date: Sun, 6 Mar 2016 17:47:30 +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-Archives-Salt: c46d040f-676c-4368-97dd-65af718123d9 X-Archives-Hash: 572289bc98aa5a9832bb9d75b4be8c95 commit: 2fe8d223790b5f40b42e41f3ed80b59d408aaa05 Author: Magnus Granberg gentoo org> AuthorDate: Sun Mar 6 17:47:58 2016 +0000 Commit: Magnus Granberg gentoo org> CommitDate: Sun Mar 6 17:47:58 2016 +0000 URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=2fe8d223 fix a typo for package env files pym/tbc/build_job.py | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/pym/tbc/build_job.py b/pym/tbc/build_job.py index e8ab829..d0d72c3 100644 --- a/pym/tbc/build_job.py +++ b/pym/tbc/build_job.py @@ -103,21 +103,14 @@ class build_job_action(object): f.write(filetext) f.write('\n') f.close - if enable_test_features: - filetext = k + ' ' + 'test.conf' - log_msg = "filetext: %s" % filetext - add_logs(self._session, log_msg, "info", self._config_id) - with open("/etc/portage/package.env/99_env", "a") as f: - f.write(filetext) - f.write('\n') - f.close - filetext = '=' + k + ' ' + 'test.conf' - log_msg = "filetext: %s" % filetext - add_logs(self._session, log_msg, "info", self._config_id) - with open("/etc/portage/package.env/99_env", "a") as f: - f.write(filetext) - f.write('\n') - f.close + if enable_test_features: + filetext = '=' + k + ' ' + 'test.conf' + log_msg = "filetext: %s" % filetext + add_logs(self._session, log_msg, "info", self._config_id) + with open("/etc/portage/package.env/99_env", "a") as f: + f.write(filetext) + f.write('\n') + f.close log_msg = "build_cpv_list: %s" % (build_cpv_list,) add_logs(self._session, log_msg, "info", self._config_id)