From c19f880142f587edc627638c1f9940fe1443f951 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Thu, 10 Nov 2011 10:30:13 +0000 Subject: [PATCH] Fix up spacing issues; thanks Niels. Signed-off-by: Adam D. Barratt --- britney.py | 4 ++-- migrationitem.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/britney.py b/britney.py index f1b3926..922962b 100755 --- a/britney.py +++ b/britney.py @@ -818,7 +818,7 @@ class Britney: self.__log("Overriding %s[%s] = %s with %s" % (x, package, z[package], hint.version), type="W") for other in [y for y in hints[x] if y.package==package and y.version==z[package]]: other.set_active(False) - + z[package] = hint.version # Sanity check the hints hash @@ -1278,7 +1278,7 @@ class Britney: for block_cmd in blocked: unblock_cmd = "un" + block_cmd unblocks = self.hints.search(unblock_cmd, package=src) - + if unblocks and self.same_source(unblocks[0].version, source_u[VERSION]): excuse.addhtml("Ignoring %s request by %s, due to %s request by %s" % (block_cmd, blocked[block_cmd].user, unblock_cmd, unblocks[0].user)) diff --git a/migrationitem.py b/migrationitem.py index 272ff6e..de4d46b 100644 --- a/migrationitem.py +++ b/migrationitem.py @@ -39,7 +39,7 @@ class MigrationItem: else: isequal = self.version == other.version - return isequal + return isequal def __hash__(self): return hash((self.uvname, self.version)) @@ -77,7 +77,7 @@ class MigrationItem: if self.is_removal: self._suite = 'testing' - + parts = self._name.split('/', 3) is_removal = self.is_removal if len(parts) == 1 or self._architecture == 'source':