mirror of https://github.com/celery/kombu.git
cosmetics
This commit is contained in:
parent
4feb16607d
commit
1438b95d8f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue