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 <gentoo-commits+bounces-417059-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Rm788-0008Pl-Aa
	for garchives@archives.gentoo.org; Sat, 14 Jan 2012 17:11:00 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6D092E06F7;
	Sat, 14 Jan 2012 17:10:53 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 42114E06F7
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jan 2012 17:10:53 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C248D1B4032
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jan 2012 17:10:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 3E2A680044
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jan 2012 17:10:52 +0000 (UTC)
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <5690ca2b8114ae352c97aefeb2a7b240204e078f.zmedico@gentoo>
Subject: [gentoo-commits] proj/portage:master commit in: bin/
X-VCS-Repository: proj/portage
X-VCS-Files: bin/egencache
X-VCS-Directories: bin/
X-VCS-Committer: zmedico
X-VCS-Committer-Name: Zac Medico
X-VCS-Revision: 5690ca2b8114ae352c97aefeb2a7b240204e078f
Date: Sat, 14 Jan 2012 17:10:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: fd819656-91be-4eeb-b24b-ea745dbd3c18
X-Archives-Hash: c1c53054d89345d2bbf76ed4456997d4

commit:     5690ca2b8114ae352c97aefeb2a7b240204e078f
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 17:10:10 2012 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 17:10:10 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a=
=3Dcommit;h=3D5690ca2b

egencache: escape newline instead of lstrip

---
 bin/egencache |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/egencache b/bin/egencache
index 2f81966..b301115 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -503,12 +503,12 @@ class GenUseLocalDesc(object):
 				errors=3D'backslashreplace')
 			output.write(_unicode_decode('\n'))
 		else:
-			output.write(textwrap.dedent(_unicode_decode('''
+			output.write(textwrap.dedent(_unicode_decode('''\
 				# This file is deprecated as per GLEP 56 in favor of metadata.xml. P=
lease add
 				# your descriptions to your package's metadata.xml ONLY.
 				# * generated automatically using egencache *
=20
-				'''.lstrip())))
+				''')))
=20
 		# The cmp function no longer exists in python3, so we'll
 		# implement our own here under a slightly different name
@@ -690,12 +690,12 @@ class GenChangeLogs(object):
 			self.returncode |=3D 2
 			return
=20
-		output.write(textwrap.dedent(_unicode_decode('''
+		output.write(textwrap.dedent(_unicode_decode('''\
 			# ChangeLog for %s
 			# Copyright 1999-%s Gentoo Foundation; Distributed under the GPL v2
 			# $Header: $
=20
-			''' % (cp, time.strftime('%Y'))).lstrip()))
+			''' % (cp, time.strftime('%Y')))))
=20
 		# now grab all the commits
 		commits =3D self.grab(['git', 'rev-list', 'HEAD', '--', '.']).split()