mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
recipeparse: remove unnecessary else statement
Code clean up. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
This commit is contained in:
parent
61845b7465
commit
b1375847d9
|
@ -134,7 +134,6 @@ def detect_file_type(path, subdir_start):
|
||||||
if res:
|
if res:
|
||||||
typename = 'machine'
|
typename = 'machine'
|
||||||
return (typename, None, res.group(1))
|
return (typename, None, res.group(1))
|
||||||
else:
|
|
||||||
res = bbclass_re.match(subpath)
|
res = bbclass_re.match(subpath)
|
||||||
if res:
|
if res:
|
||||||
typename = 'bbclass'
|
typename = 'bbclass'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user