[bitbake-devel] [PATCH 1/1] bitbake: replace 3 spaces with 4
Robert Yang
liezhi.yang at windriver.com
Fri Dec 27 15:55:53 UTC 2013
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):
"""
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
More information about the bitbake-devel
mailing list