[buildd-tools-devel] [PATCH 2/3] Broken indentation tidy

wookey at wookware.org wookey at wookware.org
Wed Dec 21 22:41:08 UTC 2011


From: Wookey <wookey at wookware.org>

---
 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'],
-- 
1.7.7.3




More information about the Buildd-tools-devel mailing list