lock = self.lock("READLOCK")
# Try to acquire the "reader" lock, which prevents a writer from
- # deleting segments out from under us. If another reader already has
+ # deleting segments out from under us.
# TODO: replace this with a re-entrant file lock, if possible.
- gotit = lock.acquire(
+ gotit = lock.acquire(e)