From 72556c55c434f7f0d59d4f00c56eb0e83893ee19 Mon Sep 17 00:00:00 2001 From: "biao716.wang" Date: Thu, 12 Dec 2019 17:45:59 +0800 Subject: fix pylint error for Ubuntu 14.04, add gbp/version.py file Change-Id: I741176ae7adff77ad09bb07ab6b5352481500454 Signed-off-by: biao716.wang --- gbp/bb/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gbp/bb') diff --git a/gbp/bb/__init__.py b/gbp/bb/__init__.py index 1efeb221..d6f205b4 100644 --- a/gbp/bb/__init__.py +++ b/gbp/bb/__init__.py @@ -32,9 +32,6 @@ from gbp.scripts.common.buildpackage import dump_tree bb = None -# pylint: disable=bad-continuation - - def import_bb(): """Import bitbake lib""" bb_bin = subprocess.Popen(['which', 'bitbake'], stdout=subprocess.PIPE, @@ -54,7 +51,7 @@ def import_bb(): def init_tinfoil(config_only=False, tracking=False): """Initialize the Bitbake tinfoil module""" - import bb.tinfoil + import bb.tinfoil #pylint: disable=import-error try: tinfoil = bb.tinfoil.Tinfoil(tracking=tracking) except (SystemExit, bb.BBHandledException): -- cgit v1.2.3