[bitbake-devel] [PATCH 1/1] bitbake: replace 3 spaces with 4
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Jan 2 13:06:42 UTC 2014
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 at 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
More information about the bitbake-devel
mailing list