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 30F4313827E for ; Sat, 14 Dec 2013 06:21:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A99AFE0A64; Sat, 14 Dec 2013 06:21:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D29EE0A64 for ; Sat, 14 Dec 2013 06:21:33 +0000 (UTC) Received: from [192.168.1.210] (S010600222de111ff.vc.shawcable.net [96.49.5.156]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 53E5233ECCD; Sat, 14 Dec 2013 06:21:32 +0000 (UTC) Message-ID: <1387002080.3897.110.camel@big_daddy.dol-sen.ca> Subject: Re: [gentoo-catalyst] [PATCH 4/4] cleanup long lines, improve usage() output formatting slightly From: Brian Dolbec To: Matt Turner Cc: gentoo-catalyst@lists.gentoo.org Date: Fri, 13 Dec 2013 22:21:20 -0800 In-Reply-To: References: <1386990436-9198-1-git-send-email-dolsen@gentoo.org> <1386990436-9198-5-git-send-email-dolsen@gentoo.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-EmchI10ZDH1byLR9IMUN" X-Mailer: Evolution 3.6.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: 3afc922d-c3d5-4a0b-a301-548c7a0935b8 X-Archives-Hash: fb59b182308d4dedf46a05065c07e10e --=-EmchI10ZDH1byLR9IMUN Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2013-12-13 at 21:14 -0800, Matt Turner wrote: > On Fri, Dec 13, 2013 at 7:07 PM, Brian Dolbec wrote: > > - print "Using command line specified Catalyst co= nfiguration file, "+myconfig > > + print "Using command line specified Catalyst co= nfiguration file, "+\ >=20 > No need to add \ >=20 > (same comment applies elsewhere) General rule is if you are making something multiline, it needs to be enclosed in ()'s or []'s, etc.. I'm quite certain that the old print statement needs the line continuation "\" symbol since there are no ()'s enclosing all blocks to be printed. That may have changed at some point so that it is not required in more recent python versions. Actually when using the newer python() you don't even need to use + between blocks of text on multiple lines. --=-EmchI10ZDH1byLR9IMUN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQF8BAABCgBmBQJSq/jgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4Njg4RkQxQ0M3MUMxQzA0RUFFQTQyMzcy MjE0RDkwQTAxNEYxN0NCAAoJECIU2QoBTxfL1NkH/A4nqdRKXGyO19K6MmsfuXDz GpmDjDYiVHbd+82WVHwWrdlvpchnzA3rLXutCBrXDrDeAJyZfNViuA5g44fiVl+j n7O2IuOtwwctvVo9dfcQMLjR5K57lsHLg3vunVxrwMHOZGqdvt5b8lEXEB2SFmiS xYTlTJE7O3XT5+Y9RPO4uhTDPPBFWAom7hs7BWgrdaJAMhgc+4/cDDco5BP4bfQ7 E7jIonAJWp9saY94Miz95wmT8ICAqUJBmx5cL/orzwBcZjy/iJ3oi9sEyWftqDxG w37PQ9AsFscTAophecam6Ula1S4QAvTibjTqydeJKmNw16W0TK2K/4RTwmQA8Dw= =2M5V -----END PGP SIGNATURE----- --=-EmchI10ZDH1byLR9IMUN--