Skip to content

Commit 03fc3dc

Browse files
vermaeterobwoolley
authored andcommitted
bitbake: Avoid whitespaces around some variables
e.g. kortex-description_0.2.2-2.bb:9:info:oelint.vars.notneededspace:Space at the beginning of the var is not needed [branch:true] Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
1 parent 21cabbc commit 03fc3dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

superflore/generators/bitbake/yocto_recipe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,11 @@ def get_recipe_text(self, distributor):
407407
else:
408408
ret += 'DESCRIPTION = "None"\n'
409409
# author
410-
ret += 'AUTHOR = "' + self.maintainer + '"\n'
410+
ret += 'AUTHOR = "' + self.maintainer.strip() + '"\n'
411411
if self.author:
412-
ret += 'ROS_AUTHOR = "' + self.author + '"\n'
412+
ret += 'ROS_AUTHOR = "' + self.author.strip() + '"\n'
413413
if self.homepage:
414-
ret += 'HOMEPAGE = "' + self.homepage + '"\n'
414+
ret += 'HOMEPAGE = "' + self.homepage.strip() + '"\n'
415415
# section
416416
ret += 'SECTION = "devel"\n'
417417
# license

0 commit comments

Comments
 (0)