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):
|
def adjust(self, other):
|
||||||
with self.mutex:
|
with self.mutex:
|
||||||
self.value = max(self.value, other) + 1
|
value = self.value = max(self.value, other) + 1
|
||||||
return self.value
|
return value
|
||||||
|
|
||||||
def forward(self):
|
def forward(self):
|
||||||
with self.mutex:
|
with self.mutex:
|
||||||
|
|
Loading…
Reference in New Issue