Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mail.openembedded.org (Postfix) with ESMTP id 80BF775645 for ; Thu, 11 Jun 2015 11:34:28 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 11 Jun 2015 04:34:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,595,1427785200"; d="scan'208";a="709156482" Received: from marquiz.fi.intel.com ([10.237.72.155]) by orsmga001.jf.intel.com with ESMTP; 11 Jun 2015 04:34:29 -0700 From: Markus Lehtonen To: openembedded-core@lists.openembedded.org Date: Thu, 11 Jun 2015 14:34:15 +0300 Message-Id: <1434022456-26266-10-git-send-email-markus.lehtonen@linux.intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1434022456-26266-1-git-send-email-markus.lehtonen@linux.intel.com> References: <1434022456-26266-1-git-send-email-markus.lehtonen@linux.intel.com> Cc: Paul Eggleton Subject: [PATCH v2 09/10] devtool: remove some unused return values X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 11:34:28 -0000 Signed-off-by: Markus Lehtonen --- scripts/devtool | 1 - scripts/lib/devtool/standard.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/scripts/devtool b/scripts/devtool index 0100eb8..307846a 100755 --- a/scripts/devtool +++ b/scripts/devtool @@ -157,7 +157,6 @@ def _enable_workspace_layer(workspacedir, config, basepath): bblayers_conf = os.path.join(basepath, 'conf', 'bblayers.conf') if not os.path.exists(bblayers_conf): logger.error('Unable to find bblayers.conf') - return -1 _, added = bb.utils.edit_bblayers_conf(bblayers_conf, workspacedir, config.workspace_path) if added: logger.info('Enabling workspace layer in bblayers.conf') diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index fb3cc78..14912a9 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -417,9 +417,6 @@ def _check_preserve(config, recipename): tf.write(line) os.rename(newfile, origfile) - return False - - def modify(args, config, basepath, workspace): """Entry point for the devtool 'modify' subcommand""" import bb -- 2.1.4