From 1438b95d8f074f8cc7bef723e3a248dc476850e2 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Fri, 6 Dec 2013 22:20:52 +0000 Subject: [PATCH] cosmetics --- kombu/clocks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kombu/clocks.py b/kombu/clocks.py index 612ddb49..a9862382 100644 --- a/kombu/clocks.py +++ b/kombu/clocks.py @@ -107,8 +107,8 @@ class LamportClock(object): def adjust(self, other): with self.mutex: - self.value = max(self.value, other) + 1 - return self.value + value = self.value = max(self.value, other) + 1 + return value def forward(self): with self.mutex: