cosmetics

This commit is contained in:
Ask Solem 2013-12-06 22:20:52 +00:00
parent 4feb16607d
commit 1438b95d8f
1 changed files with 2 additions and 2 deletions

View File

@ -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: