Show More
@@ -123,7 +123,7 b' class lock(object):' | |||||
123 | """release the lock and execute callback function if any |
|
123 | """release the lock and execute callback function if any | |
124 |
|
124 | |||
125 | If the lock have been aquired multiple time, the actual release is |
|
125 | If the lock have been aquired multiple time, the actual release is | |
126 | delayed to the last relase call.""" |
|
126 | delayed to the last release call.""" | |
127 | if self.held > 1: |
|
127 | if self.held > 1: | |
128 | self.held -= 1 |
|
128 | self.held -= 1 | |
129 | elif self.held == 1: |
|
129 | elif self.held == 1: |
General Comments 0
You need to be logged in to leave comments.
Login now