* [PATCH 0/1] bitbake: replace 3 spaces with 4 @ 2013-12-27 15:55 Robert Yang 2013-12-27 15:55 ` [PATCH 1/1] " Robert Yang 0 siblings, 1 reply; 3+ messages in thread From: Robert Yang @ 2013-12-27 15:55 UTC (permalink / raw) To: bitbake-devel The following changes since commit 005af45191ded6185c618c708181b31281e43092: bitbake: fetch2: avoid printing "no checksum" error message twice (2013-12-22 14:29:13 +0000) are available in the git repository at: git://git.pokylinux.org/poky-contrib robert/spaces http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/spaces Robert Yang (1): bitbake: replace 3 spaces with 4 bitbake/lib/bb/fetch2/__init__.py | 8 ++++---- bitbake/lib/ply/yacc.py | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) -- 1.8.3.1 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] bitbake: replace 3 spaces with 4 2013-12-27 15:55 [PATCH 0/1] bitbake: replace 3 spaces with 4 Robert Yang @ 2013-12-27 15:55 ` Robert Yang 2014-01-02 13:06 ` Richard Purdie 0 siblings, 1 reply; 3+ messages in thread From: Robert Yang @ 2013-12-27 15:55 UTC (permalink / raw) To: bitbake-devel A part of fetch2/__init__.py and yacc.py uses 3 spaces as the indent, I think that they should be typos. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> --- bitbake/lib/bb/fetch2/__init__.py | 8 ++++---- bitbake/lib/ply/yacc.py | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 8fdf59c..439a44a 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -1263,10 +1263,10 @@ class FetchMethod(object): return def clean(self, urldata, d): - """ - Clean any existing full or partial download - """ - bb.utils.remove(urldata.localpath) + """ + Clean any existing full or partial download + """ + bb.utils.remove(urldata.localpath) def try_premirror(self, urldata, d): """ diff --git a/bitbake/lib/ply/yacc.py b/bitbake/lib/ply/yacc.py index 6168fd9..711987a 100644 --- a/bitbake/lib/ply/yacc.py +++ b/bitbake/lib/ply/yacc.py @@ -2589,9 +2589,9 @@ _lr_signature = %r f.write(""" _lr_action = { } for _k, _v in _lr_action_items.items(): - for _x,_y in zip(_v[0],_v[1]): - if not _x in _lr_action: _lr_action[_x] = { } - _lr_action[_x][_k] = _y + for _x,_y in zip(_v[0],_v[1]): + if not _x in _lr_action: _lr_action[_x] = { } + _lr_action[_x][_k] = _y del _lr_action_items """) @@ -2629,9 +2629,9 @@ del _lr_action_items f.write(""" _lr_goto = { } for _k, _v in _lr_goto_items.items(): - for _x,_y in zip(_v[0],_v[1]): - if not _x in _lr_goto: _lr_goto[_x] = { } - _lr_goto[_x][_k] = _y + for _x,_y in zip(_v[0],_v[1]): + if not _x in _lr_goto: _lr_goto[_x] = { } + _lr_goto[_x][_k] = _y del _lr_goto_items """) else: -- 1.8.3.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] bitbake: replace 3 spaces with 4 2013-12-27 15:55 ` [PATCH 1/1] " Robert Yang @ 2014-01-02 13:06 ` Richard Purdie 0 siblings, 0 replies; 3+ messages in thread From: Richard Purdie @ 2014-01-02 13:06 UTC (permalink / raw) To: Robert Yang; +Cc: bitbake-devel On Fri, 2013-12-27 at 23:55 +0800, Robert Yang wrote: > A part of fetch2/__init__.py and yacc.py uses 3 spaces as the indent, I > think that they should be typos. > > Signed-off-by: Robert Yang <liezhi.yang@windriver.com> > --- > bitbake/lib/bb/fetch2/__init__.py | 8 ++++---- > bitbake/lib/ply/yacc.py | 12 ++++++------ > 2 files changed, 10 insertions(+), 10 deletions(-) > > diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py > index 8fdf59c..439a44a 100644 > --- a/bitbake/lib/bb/fetch2/__init__.py > +++ b/bitbake/lib/bb/fetch2/__init__.py > @@ -1263,10 +1263,10 @@ class FetchMethod(object): > return > > def clean(self, urldata, d): > - """ > - Clean any existing full or partial download > - """ > - bb.utils.remove(urldata.localpath) > + """ > + Clean any existing full or partial download > + """ > + bb.utils.remove(urldata.localpath) > > def try_premirror(self, urldata, d): > """ The __init__ change is fine and I've taken it, the yacc code is actually a copy from upstream so its better to leave that alone even if its not entirely correct. Cheers, Richard ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-02 13:06 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-12-27 15:55 [PATCH 0/1] bitbake: replace 3 spaces with 4 Robert Yang 2013-12-27 15:55 ` [PATCH 1/1] " Robert Yang 2014-01-02 13:06 ` Richard Purdie
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.