From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QzzTH-0006vY-VB for garchives@archives.gentoo.org; Sat, 03 Sep 2011 23:17:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61B0621C04A; Sat, 3 Sep 2011 23:17:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2D0B121C04A for ; Sat, 3 Sep 2011 23:17:48 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D0341B402F for ; Sat, 3 Sep 2011 23:17:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6F90680042 for ; Sat, 3 Sep 2011 23:17:46 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/elog/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/elog/mod_save.py pym/portage/elog/mod_save_summary.py X-VCS-Directories: pym/portage/elog/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: b449f5df29848097b12e161df5d50ceed03a0517 Date: Sat, 3 Sep 2011 23:17:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: ad15b237552a28d875b8c6294fcc8b8a commit: b449f5df29848097b12e161df5d50ceed03a0517 Author: Zac Medico gentoo org> AuthorDate: Sat Sep 3 23:17:04 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Sep 3 23:17:04 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Db449f5df elog/mod_save: join /var/log with os.sep too --- pym/portage/elog/mod_save.py | 3 ++- pym/portage/elog/mod_save_summary.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pym/portage/elog/mod_save.py b/pym/portage/elog/mod_save.py index bfccd77..c69f4a3 100644 --- a/pym/portage/elog/mod_save.py +++ b/pym/portage/elog/mod_save.py @@ -18,7 +18,8 @@ def process(mysettings, key, logentries, fulltext): if mysettings.get("PORT_LOGDIR"): logdir =3D normalize_path(mysettings["PORT_LOGDIR"]) else: - logdir =3D os.path.join(mysettings["EPREFIX"], "var", "log", "portage"= ) + logdir =3D os.path.join(os.sep, mysettings["EPREFIX"].lstrip(os.sep), + "var", "log", "portage") =20 if not os.path.isdir(logdir): # Only initialize group/mode if the directory doesn't diff --git a/pym/portage/elog/mod_save_summary.py b/pym/portage/elog/mod_= save_summary.py index 3196d43..347f66e 100644 --- a/pym/portage/elog/mod_save_summary.py +++ b/pym/portage/elog/mod_save_summary.py @@ -18,7 +18,8 @@ def process(mysettings, key, logentries, fulltext): if mysettings.get("PORT_LOGDIR"): logdir =3D normalize_path(mysettings["PORT_LOGDIR"]) else: - logdir =3D os.path.join(mysettings["EPREFIX"], "var", "log", "portage"= ) + logdir =3D os.path.join(os.sep, mysettings["EPREFIX"].lstrip(os.sep), + "var", "log", "portage") =20 if not os.path.isdir(logdir): # Only initialize group/mode if the directory doesn't