Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: Justin Lecher <jlec@g.o>
Cc: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 30 Oct 2015 17:20:35
Message-Id: 20151030182008.44e0c324.mgorny@gentoo.org
1 On Fri, 30 Oct 2015 12:03:59 +0000 (UTC)
2 "Justin Lecher" <jlec@g.o> wrote:
3
4 > commit: df8e399c9bac2dc30d7cf69c2462a81729a3ae69
5 > Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
6 > AuthorDate: Fri Oct 30 10:18:05 2015 +0000
7 > Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
8 > CommitDate: Fri Oct 30 12:03:49 2015 +0000
9 > URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df8e399c
10 >
11 > eclass: Use consistent place for then in if clause
12
13 Excuse me but who are you exactly to take a random eclass and commit
14 random style changes inside without even bothering to contact
15 the author?
16
17 Not to mention this commit message is incorrect as it doesn't state
18 which eclass was modified.
19
20 >
21 > Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
22 >
23 > eclass/distutils-r1.eclass | 3 +--
24 > 1 file changed, 1 insertion(+), 2 deletions(-)
25 >
26 > diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
27 > index 185dd4f..dbd27a7 100644
28 > --- a/eclass/distutils-r1.eclass
29 > +++ b/eclass/distutils-r1.eclass
30 > @@ -322,8 +322,7 @@ distutils-r1_python_prepare_all() {
31 >
32 > _distutils-r1_disable_ez_setup
33 >
34 > - if [[ ${DISTUTILS_IN_SOURCE_BUILD} && ! ${DISTUTILS_SINGLE_IMPL} ]]
35 > - then
36 > + if [[ ${DISTUTILS_IN_SOURCE_BUILD} && ! ${DISTUTILS_SINGLE_IMPL} ]]; then
37
38 This was intentionally wrapped to stay within 72-column line width. Not
39 saying the eclass is perfect in keeping text width, especially with
40 others committing random changes to it, but that's no reason to
41 introduce further offenders.
42
43 > # create source copies for each implementation
44 > python_copy_sources
45 > fi
46 >
47
48
49
50 --
51 Best regards,
52 Michał Górny
53 <http://dev.gentoo.org/~mgorny/>

Replies