From patchwork Wed Dec 21 22:41:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wookey X-Patchwork-Id: 5938 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 1D14924056 for ; Wed, 21 Dec 2011 22:41:35 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id 13CCDA18165 for ; Wed, 21 Dec 2011 22:41:35 +0000 (UTC) Received: by mail-ey0-f180.google.com with SMTP id c11so5149700eaa.11 for ; Wed, 21 Dec 2011 14:41:35 -0800 (PST) Received: by 10.205.132.148 with SMTP id hu20mr338433bkc.96.1324507294877; Wed, 21 Dec 2011 14:41:34 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.82.144 with SMTP id ac16cs51929bkc; Wed, 21 Dec 2011 14:41:34 -0800 (PST) Received: by 10.181.13.17 with SMTP id eu17mr18141027wid.12.1324507293555; Wed, 21 Dec 2011 14:41:33 -0800 (PST) Received: from stoneboat.aleph1.co.uk (stoneboat.aleph1.co.uk. [80.68.88.63]) by mx.google.com with ESMTPS id eo10si3728256wbb.35.2011.12.21.14.41.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Dec 2011 14:41:33 -0800 (PST) Received-SPF: neutral (google.com: 80.68.88.63 is neither permitted nor denied by best guess record for domain of wookey@wookware.org) client-ip=80.68.88.63; Authentication-Results: mx.google.com; spf=neutral (google.com: 80.68.88.63 is neither permitted nor denied by best guess record for domain of wookey@wookware.org) smtp.mail=wookey@wookware.org Received: from cpc5-cmbg4-0-0-cust802.5-4.cable.virginmedia.com ([86.14.235.35] helo=kh.home.wookware.org) by stoneboat.aleph1.co.uk with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1RdUqo-0001tZ-Nx; Wed, 21 Dec 2011 22:41:32 +0000 Received: from wookey by kh.home.wookware.org with local (Exim 4.77) (envelope-from ) id 1RdUqm-0006aO-V5; Wed, 21 Dec 2011 22:41:29 +0000 From: wookey@wookware.org To: buildd-tools-devel@lists.alioth.debian.org Cc: patches@linaro.org, Wookey Date: Wed, 21 Dec 2011 22:41:08 +0000 Message-Id: <1324507270-25272-2-git-send-email-wookey@wookware.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1324507270-25272-1-git-send-email-wookey@wookware.org> References: <1324507270-25272-1-git-send-email-wookey@wookware.org> X-SA-Exim-Connect-IP: 86.14.235.35 X-SA-Exim-Mail-From: wookey@wookware.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on stoneboat.aleph1.co.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=no version=3.3.1 Subject: [PATCH 2/3] Broken indentation tidy X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000) X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk) From: Wookey --- lib/Sbuild/ResolverBase.pm | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Sbuild/ResolverBase.pm b/lib/Sbuild/ResolverBase.pm index 8cb0c7d..c39f8df 100644 --- a/lib/Sbuild/ResolverBase.pm +++ b/lib/Sbuild/ResolverBase.pm @@ -219,11 +219,11 @@ sub update_archive { '/var/lib/apt/lists/' . $uri . $file], USER => 'root', PRIORITY => 0 }); - if ($?) { - $self->log("Failed to copy file from dummy archive to apt lists.\n"); - return 1; - } - } + if ($?) { + $self->log("Failed to copy file from dummy archive to apt lists.\n"); + return 1; + } + } $self->run_apt_command( { COMMAND => [$self->get_conf('APT_CACHE'), 'gencaches'],