Fix LaxBoundedSemaphore' object has no attribute 'waiting'

This commit is contained in:
Antoine Legrand 2013-11-13 14:12:38 +00:00 committed by Ask Solem
parent c38fc5f2cb
commit b97fb04704
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class LaxBoundedSemaphore(object):
def __repr__(self):
return '<{0} at {1:#x} value:{2} waiting:{3}>'.format(
self.__class__.__name__, id(self), self.value, len(self.waiting),
self.__class__.__name__, id(self), self.value, len(self._waiting),
)