Commits

Armin Rigo  committed edaf872 Merge

merge heads

  • Participants
  • Parent commits 2dce861, d1c21fe
  • Branches concurrent-marksweep

Comments (0)

Files changed (1)

File pypy/module/thread/ll_thread.py

 
     def release(self):
         # Sanity check: the lock must be locked
-        error = self.acquire(False)
+        err = self.acquire(False)
         c_thread_releaselock(self._lock)
-        if error:
+        if err:
             raise error("bad lock")
 
     def __del__(self):